建立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