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

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

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

MVN 构建项目时的一个问题--Could not resolve de pendencies for project

解决maven cannot change version of project facet dynamic web module to 3.0

猜你喜欢

转载自songjianyong.iteye.com/blog/2021829
今日推荐