maven問題-"resolution will not be reattempted until the update interval of MyRepo has elapsed"


最近在家里寫maven程序的時候老是出現問題,有些問題到了公司就突然消失了。

在修改pom文件后保存的反應還是比較明顯的,家里的網遇到有些依賴根本下載不了。。牆。

但是到了公司,不但速度快,幾乎啥都能下載,,大概是因為這些需要的在私服上有存着有吧。

每次在家里構件項目失敗,失敗的次數多了,搞的我都以為是我pom文件哪里寫錯了。

這次其它的項目都好用(以前的是一片全壞了,,),就一個插件項目壞了,我也看它加載了好久都沒反應,肯定是網絡的原因,於是准備去公司用公司的jiluyou加載試試。

結果正巧今天的jiluyou也上不去國外的網了,只好自己找vpn,找了半天算是找到比較好用的了。

然后還是提示“resolution will not be reattempted until the update interval of MyRepo has elapsed”,

我看了看,大概的意思應該就是網絡連接失敗次數太多了,都懶得再嘗試了。

但是我換了網絡了啊,於是我試了試reindex,還是不行。

最后在stackoverflow上找到建議。

去本地倉庫把plugin-plugin這個給刪了,然后update一下項目就自動開始加載起來,然后就ok了。

總結:
1.reindex
2.刪repository


免責聲明!

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



猜您在找 resolution will not be reattempted until the update interval of nexus has elapsed or updates are forced 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 問題解決 resolution will not be reattempted until the update interval of repository-group 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 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 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. 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 maven執行報錯resolution will not be reattempted until the update interval of nexus h Maven 2種異常解決方案: Failure to transfer org.apache.maven 和 Project build error: Non-resolvable parent POM for resolution will not be reattempted until the update interval of central has elapsed or upd
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM