maven编译项目时提示:cached in the local repository
生活随笔
收集整理的這篇文章主要介紹了
maven编译项目时提示:cached in the local repository
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1.今天使用命令mvn compile編譯maven項目時提示錯誤信息,部分錯誤信息如下:
?
Failure to transfer wsdl4j:wsdl4j:jar:1.6.3 from http://xx.xx.xx.xx:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced. Original error: Could not transfer artifact wsdl4j:wsdl4j:jar:1.6.3 from/to public (http://xx.xx.xx.xx:8081/nexus/content/groups/public): The operation was cancelled.?
?? ? ? 發現wsdl4j-1.6.3.jar下載到本地時失敗,從提示可知是本地倉庫的緩存(cached)造成。我們找到maven的倉庫目錄,找到該jar的下載目錄。找到.lastUpdated文件,刪除它。然后eclipse-->maven-->updateMaven,重新下載jar后。如果下載成功,那么這個錯誤就會消失。
2.MVN 構建項目時的一個問題--Could not resolve de pendencies for project
? ? ??解決maven cannot change version of project facet dynamic web module to 3.0
轉載于:https://www.cnblogs.com/toSeeMyDream/p/6028302.html
創作挑戰賽新人創作獎勵來咯,堅持創作打卡瓜分現金大獎總結
以上是生活随笔為你收集整理的maven编译项目时提示:cached in the local repository的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 调色板 palette 详解
- 下一篇: mysql5.0 php_php怎么连接