首页 > Web开发 > 详细

Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from http://repo.maven.apache.org/ maven2 was cached in the local repository, resolution will not be reattempted until the update interv

时间:2016-07-30 11:52:24      阅读:287      评论:0      收藏:0      [点我收藏+]

Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from http://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-archiver:pom:2.5 from/to central (http://repo.maven.apache.org/
 maven2): No response received after 60000
 
今天在myeclipse新建了一个web项目并且加上了maven的支持,但是pom.xml文件第一行却出现了上面这个错误,废话不多说,解决方法就是,查看上面红色的代码错误在仓库中相应的包,这时候你会发现文件夹里只有XXX.lastudpated文件,并没有jar文件,于是我将整个文件夹都删了,在工程右键->Maven4Myeclipse->update project..,然后refresh就OK。

Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from http://repo.maven.apache.org/ maven2 was cached in the local repository, resolution will not be reattempted until the update interv

原文:http://www.cnblogs.com/lonecloud/p/5720490.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!