maven编译项目时提示:cached in the local repository

来源:互联网 发布:nginx反向代理好处 编辑:程序博客网 时间:2024/06/06 14:10

maven编译项目时提示:cached in the local repository

    博客分类:
  • 编程错误及处理
  • maven
mavencachedreattempted 
今天使用命令mvn compile编译maven项目时提示错误信息,部分错误信息如下:
...... was cached in the local repository, resolution will not be reattempted until the update interval of nexus ......

发现XXX-XX.jar下载到本地时失败,从提示可知是本地仓库的缓存(cached)造成,于是我删除目录C:\Users\Administrator\.m2\repository\proxool\XXXX\0.1.1后重新下载(即执行mvn compile命令)即可成功!
注意你要确定远程仓库中存在此jar(XXX-XX.jar)包
阅读全文
0 0
原创粉丝点击