2017-12-28 80 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

私は私の地元のレポでアーティファクトディレクトリをダウンロードすることができなかった対応を削除することで、この問題を修正しました。次回は、自動的にダウンロードされます。

関連する問題