Failure to find xxx in xxx was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ xxx


問題:

在linux服務器上使用maven編譯war時報錯:

16:41:35 [FATAL] Non-resolvable parent POM for ***: Failure to find *** in *** was cached in the local repository, resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced @ ***...

解決:

在mvn命令中添加 -U   該參數能強制更新服務器上的倉庫緩存


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM