2017-12-28 68 views
0

pom.xml 파일에 다음 오류 메시지가 표시됩니다. 아무도이 문제를 해결할 수 있도록 도와주세요. 솔루션을 얻으려면 Google에서 솔루션을 검색했습니다.eclipse webapp의 pom.xml 파일에 오류가 있습니다.

ERROR

Failure to transfer com.thoughtworks.xstream:xstream:pom: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:pom:1.3.1 from/to 
central (https://repo.maven.apache.org/maven2): The operation was cancelled. 

의 pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 
    <modelVersion>4.0.0</modelVersion> 
    <groupId>com.maven</groupId> 
    <artifactId>helloworld</artifactId> 
    <packaging>war</packaging> 
    <version>0.0.1-SNAPSHOT</version> 
    <name>helloworld Maven Webapp</name> 
    <url>http://maven.apache.org</url> 
    <dependencies> 
    <dependency> 
     <groupId>junit</groupId> 
     <artifactId>junit</artifactId> 
     <version>3.8.1</version> 
     <scope>test</scope> 
    </dependency> 
    </dependencies> 
    <build> 
    <finalName>helloworld</finalName> 
    </build> 
</project> 
+0

어디서 오류가 있습니까? –

+0

죄송합니다. 지금 확인하십시오. –

+0

이게 도움이 될 것 같아요. https://stackoverflow.com/a/10685698/3143670 –

답변

0

은 내가 내 지역의 repo에서 유물 디렉토리를 다운로드하는 데 실패 상응 삭제하여이 문제를 해결했습니다. 다음 번에 자동으로 다운로드됩니다.