您的位置:首页 > 大数据 > 人工智能

Maven错误问题解决 Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven

2016-06-24 02:35 597 查看

错误问题描述

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):

Network is unreachable: connect

解决办法

1、根据提示:com.thoughtworks.xstream:xstream:jar:1.3.1,找到本地仓库的相应jar包目录,删除

2、配置pom.xml依赖xstream,重新下载即可

<dependencies>
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>1.3.1</version>
</dependency>
</dependencies>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Failure-to maven