maven报错:Failure to transfer xxx.jar from xxx was cached in the local repository.

  • Post author:
  • Post category:其他


出错信息:

Failure to transfer org.codehaus.plexus:plexus-archiver:jar:2.0.1 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.

解决:

jar包下载失败,可能是网络不佳导致下载失败,找到本地的仓库的位置,搜索以lastupdated结尾的文件,删除文件。

然后回到maven项目,右键maven—updateProject



版权声明:本文为j1234jj原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。