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

 

 

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。
 
posted @ 2019-06-14 21:02  wq9  阅读(79)  评论(0编辑  收藏  举报