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。

相关文章:

  • 2022-12-23
  • 2021-08-18
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
  • 2021-04-18
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2021-12-27
  • 2022-01-29
相关资源
相似解决方案