maven 下載jar失敗: resolution will not be reattempted until the update interval of central has elapsed or updates are forced


Multiple annotations found at this line:

- ArtifactTransferException: Failure to transfer com.fasterxml.jackson.core:jackson-databind:jar:2.9.0.pr3 from http://
repo1.maven.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. Original error: Could not transfer artifact com.fasterxml.jackson.core:jackson-
databind:jar:2.9.0.pr3 from/to central (http://repo1.maven.org/maven2): No response received after 60000
- Missing artifact com.fasterxml.jackson.core:jackson-databind:jar:2.9.0.pr3

 

其實已經說的很清楚了。

因為 那個 2.9.pr3.jar 已經緩存在了本地,  所以下載(transfer )失敗。 只有過了指定的時間間隔, 或 強制更新, 才會去重新 解析。

—— resolution will not be reattempted until the update interval of 
central has elapsed or updates are forced

 

那么, 把 jackson-databind-2.9.0.pr3.jar.lastUpdated 刪除后, maven 就會去重新下載。

 

 

修改 pom, (增加了一空行), 還是不行。。。

Multiple annotations found at this line:
- Missing artifact com.fasterxml.jackson.core:jackson-databind:jar:2.9.0.pr3
- ArtifactTransferException: Could not transfer artifact com.fasterxml.jackson.core:jackson-databind:jar:2.9.0.pr3 
from/to central (http://repo1.maven.org/maven2): No response received after 60000

 

手動將jackson-databind-2.9.0.pr3.jar 下載到本地, 放到 mvn 倉庫中,  再次修改 pom, ok了!

 


免責聲明!

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



猜您在找 resolution will not be reattempted until the update interval of nexus 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 was cached in the local repository, resolution will not be reattempted until the update interval of fintech has elapsed or updates are forced resolution will not be reattempted until the update interval of repository-group 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 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. maven問題-"resolution will not be reattempted until the update interval of MyRepo has elapsed" 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 maven執行報錯resolution will not be reattempted until the update interval of nexus h
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM