Problem creating Maven project on Eclipse Mars

Asked

Viewed 918 times

2

I was using the Maven in the Eclipse Luna Normally, I decided to test the new version of Eclipse and when I create a project Maven some exceptions are thrown:

Description Resource Path Location Type Failure to transfer org.apache.Maven:Maven-core:jar:2.0.6 from https://repo.maven.apache.org/maven2 was cached in the local Repository, Resolution will not be reattempted until the update interval of central has Elapsed or updates are Forced. Original error: Could not transfer Artifact org.apache.Maven:Maven-core:jar:2.0.6 from/to central (https://repo.maven.apache.org/maven2): connect timed out pom.xml /Testing line 1 Maven Configuration Problem

How can I solve this problem?

2 answers

1

I would try a mvn clean install -U.

If it doesn’t work, try deleting the dependencies in your user’s . m2 folder and run mvn clean install again.

  • beauty, I already deleted the dependencies of the folder . m2. I will try to do mvn clean install -U.

  • I managed to solve the problem, it was problem as the proxy

1


I solved the problem by changing the file’s proxy settings settings.xml which is in the folder of Maven.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.