Maven經典錯誤之三:was cached in the local repository, resolution will not be reattempted until the upda
阿新 • • 發佈:2019-01-23
常見錯誤:
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工程即可.!