java - pom.xml报错
PHPz
PHPz 2017-04-18 09:15:10
0
1
507

POM文件配置

<!-- http://mvnrepository.com/artifact/dom4j/dom4j -->
        <dependency>
            <groupId>dom4j</groupId>
            <artifactId>dom4j</artifactId>
            <version>1.6.1</version>
        </dependency>

下载成功了
头部报错,更新项目也不行

ArtifactTransferException: Failure to transfer xml-apis:xml-apis:jar:1.0.b2 from 
http://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 
xml-apis:xml-apis:jar:1.0.b2 from/to central (http://repo.maven.apache.org/maven2): connection timed out to 
 http://repo.maven.apache.org/maven2/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
PHPz
PHPz

学习是最好的投资!

reply all(1)
迷茫

The remote warehouse connection times out. Maybe your machine cannot connect to the remote warehouse or the remote warehouse is down. You can choose a domestic warehouse to try

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!