A MAVEN Web project was recently created, and after importing MyEclipse, the Pom.xml file always reported the following error
Failure toTransfer org.codehaus.plexus:plexus-archiver:pom:1.0 from http://repo.maven.apache.org/maven2 was cachedinch the LocalRepository, resolution. notBe reattempteduntil theUpdate Interval ofCentral have elapsedorUpdates are forced. Original error:could notTransfer Artifact Org.codehaus.plexus:plexus-archiver:pom:1.0 from/ toCentral (http://REPO.MAVEN.APACHE.ORG/MAVEN2): Connection timed out to http://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-archiver/1.0/plexus-archiver-1.0. Pom
Later to view the online information, a lot of said to use the following methods to solve
- Get rid of MAVEN project Maven feature, select Project right mouse button –>maven–>disable maven Nature
- Add Maven feature to project, select Project right mouse button –>configure–>convert to Maven project
Pro-Test did not solve the problem, then reluctantly went to maven warehouse downloaded Plexus-archiver-1.0.jar in the local MAVEN warehouse, this should be able to the results and reported
Failure toTransfer Org.codehaus.plexus:plexus-archiver:jar:1.2 from http://repo.maven.apache.org/maven2 was cachedinch the LocalRepository, resolution. notBe reattempteduntil theUpdate Interval ofCentral have elapsedorUpdates are forced. Original error:could notTransfer Artifact Org.codehaus.plexus:plexus-archiver:jar:1.2 from/ toCentral (http://REPO.MAVEN.APACHE.ORG/MAVEN2): No response received After 60000
Also put plexus-archiver-1.2.jar download in the local MAVEN warehouse, the results are reported
Failure toTransfer Org.codehaus.plexus:plexus-io:jar:1.0. 1 from http://repo.maven.apache.org/maven2 was cachedinch the LocalRepository, resolution. notBe reattempteduntil theUpdate Interval ofCentral have elapsedorUpdates are forced. Original error:could notTransfer Artifact Org.codehaus.plexus:plexus-io:jar:1.0. 1 from/ toCentral (http://REPO.MAVEN.APACHE.ORG/MAVEN2): No response received After 60000
I was drunk, and then I downloaded plexus-io-1.0.1.jar to the local Maven repository, and then alt+f5 refreshed the project finally. The MAVEN warehouse address used in this question is http://search.maven.org/#browse%7c-1852552255, three jar packages are fast
MAVEN Engineering error Failure to transfer org.codehaus.plexus:plexus-archiver:pom:1.0