Maven pom.xml文件异常

来源:互联网 发布:js遍历数组里的对象 编辑:程序博客网 时间:2024/06/06 09:27


异常描述:



  Failure to transfer org.apache.maven.surefire:surefire: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.surefire:surefire:pom:2.7.1 from/to central 
 (http://repo1.maven.org/maven2): No response received after 60000


问题解决:



   1.打开maven的本地库C:\Users\小山\.m2\repository\org\apache\maven\surefire\surefire\2.7.1,删除maven-        surefire-plugin-2.7.1.pom.lastUpdated文件

2.右键点击project -> Maven - Update Dependencies
0 0
原创粉丝点击