解决Eclipse出现的Failure to transfer ... jar问题

问题描述:Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 fromhttp://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版本问题,eclipse自带的是maven2
解决:
1.官网下载新的maven安装文件,maven3
2.清除repository下的jar包,重新下载jar包解决Eclipse出现的Failure to transfer com.thoughtworks.xstream:xstream:jar问题
 
原来如此
原文地址:https://www.cnblogs.com/yhcreak/p/6378832.html