2016-08-30 14 views
0

com.google.code.guice:guice:jar:2.0が見つかりませんでした。http://repo1.maven.org/maven2でcom.google.code.guice:guice:jar:2.0を見つけられません

これをpomの依存関係として追加しましたが、まだダウンロードされていません。

INFO]                   
[INFO] ------------------------------------------------------------------------ 
[INFO] Building JIRAService 0.0.1-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[WARNING] The POM for com.google.code.guice:guice:jar:2.0 is missing, no dependency information available 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 1.240s 
[INFO] Finished at: Tue Aug 30 22:23:24 IST 2016 
[INFO] Final Memory: 12M/325M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal on project JIRAService: Could not resolve dependencies for project com.group:my:jar:0.0.1-SNAPSHOT: Failure to find com.google.code.guice:guice:jar:2.0 in http://repo1.maven.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 -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 

    [1]: http://i.stack.imgur.com/BCeRT.png 

依存性がcom.google.code.guiceの依存関係を削除し

<!-- https://mvnrepository.com/artifact/com.google.code.guice-repository/guice-repository --> 
<dependency> 
    <groupId>com.google.code.guice-repository</groupId> 
    <artifactId>guice-repository</artifactId> 
    <version>2.0.1</version> 
</dependency> 
+0

2.0.1ではなく2.0.1を付けましたか? – Jens

+0

まだ動作していません –

+0

Mavenリポジトリを確認しましたが、そこにプラグインがあります。だから私はあなたにプロキシの問題か何かがあると思う。他の依存関係はうまくダウンロードできますか?あなたはプロキシの背後にいますか?インターネットに接続していますか? –

答えて

0

を追加しました:Guiceの:jarファイル:私のプロジェクトから2.0の問題を解決しました。

mvnの依存関係は機能していないと思うので、ダウンロードできませんでした。

関連する問題