Failure to transfer org.apache.maven.plugins

Solved2.05K viewsJavajava maven

Failure to transfer org.apache.maven.plugins

Getting this error in my maven project in eclipse

Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from http://repo1.maven.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.plugins:maven-surefire-plugin:pom:2.7.1 from/to central (http://repo1.maven.org/maven2): Connect times out

Share:
vito Selected answer as best September 21, 2021
1

Try the below steps,

  1. Maven update (right-click on your project > Maven > Maven update)
  2. Clean the project
  3. Close eclipse > delete .m2 folder > start eclipse > maven update

The location of .m2 folder will be C:\Users\<user>\.m2

Share:
vito Selected answer as best September 21, 2021
1
You are viewing 1 out of 1 answers, click here to view all answers.