maven疑难问题解决Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.ap

报错全部内容:Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://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. Original error: Could not transfer artifact com.thoughtworks.xstream:xstream:jar:1.3.1 from/to central (https://repo.maven.apache.org/maven2): The operation 
 was cancelled.

应该是下载包的时候出错了,去仓库删掉,重新下载即可!

删除后,maven clean,搞定!

类似问题:

Failure to transfer org.apache.maven.shared:maven-filtering:jar:1.0-beta-2 from https://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. Original error: Could not transfer artifact org.apache.maven.shared:maven-filtering:jar:1.0-beta-2 from/to central (https://
 repo.maven.apache.org/maven2): The operation was cancelled.

同样方法解决,都是下载一半中断,包不全的缘故。

上一篇:什么是家用路由器,带你重新认识一下


下一篇:无线软AP简介【转载】