admin管理员组

文章数量:1534211

错误问题描述

Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.apache/
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/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>

本文标签: 错误Transferthoughtworksmavenfailure