Maven经典错误之三:was cached in the local repository, resolution will not be reattempted until the upda

来源:互联网 发布:淘宝专享价怎么设置 编辑:程序博客网 时间:2024/06/05 05:43

常见错误:

Multiple annotations found at this line:
- No plugin found for prefix 'war' in the current project and in the plugin groups [] available from the repositories [local (D:\Maven_3\maven\m2\repository), nexus (http://
xxxxx:18888/nexus/content/groups/public)]
- Failure to find org.apache.maven.plugins:maven-resources-plugin:jar:2.6 in http://xxxxx:18888/nexus/content/groups/public was cached in the local repository, 
resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced
 
 
was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced



解决方法:

将本地Maven仓库中已下载的相关依赖Jar删掉,从新build update工程即可.!

阅读全文
1 0
原创粉丝点击