建立Maven工程時出錯,Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1


Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 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. 

解決辦法:

a. 刪除m2\repository 所有 .lastUpdated為擴展名的文件

b. 然后在工程上點擊右鍵,選擇Maven4MyEclipse,然后選擇Update Project Configuration,等待結果

c. 如果還是有錯誤,請多重復幾次


免責聲明!

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



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