pom文件報錯:http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced


今天從網上down了個maven項目下來,但是pom文件一直報錯,
這句話的意思是:
對於這個包從maven中心傳輸到本地倉庫失敗,決定不會重新嘗試下載jar包,直到maven再改更新索引,或強制更新。


找到本地倉庫報錯的那個文件夾,打開之后發現沒有主題jar包
實際的解決辦法是:直接去本地倉庫,把這個7.0的目錄刪除掉(因為包沒有下載下來),再次刷新你的項目就中以了,或者在你的項目上右擊,選擇maven--->update就可以了,讓maven重新下載。
更新后再次打開7.0可以看到jar包完整啦


免責聲明!

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



猜您在找 Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from http://repo.maven.apache.org/ maven2 was cached in the local repository, resolution will not be reattempted until the update interv Maven-010-maven 編譯報錯:Failure to ... in ... 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 fintech has elapsed or updates are forced Failure to transfer org.apache.maven:maven-archiver:pom:2.5 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval o maven 下載jar失敗: resolution will not be reattempted until the update interval of central has elapsed or updates are forced Failure to find ... was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced 問題解決 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 resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced resolution will not be reattempted until the update interval of repository-group has elapsed or updates are forced maven問題-"resolution will not be reattempted until the update interval of MyRepo has elapsed"
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM