解决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问题
 
原来如此
posted on 2017-02-08 16:30  菜菜菜鸟的it路  阅读(1238)  评论(0编辑  收藏  举报