2017-08-31 18 views
1

Mavenプロジェクトの作成時にビルド計画を計算することができませんでした、私はすでにエラーがあります:私はちょうど作成時に、新しいMavenプロジェクトを作成し

Description Resource Path Location Type 
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Could not transfer artifact org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from/to central (http://repo.maven.apache.org/maven2): null to http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom pom.xml /WD_Automation line 1 Maven Project Build Lifecycle Mapping Problem 
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (execution: default-compile, phase: compile) pom.xml /WD_Automation line 1 Maven Project Build Lifecycle Mapping Problem 
CoreException: Could not calculate build plan: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-compiler-plugin:jar:2.3.2: ArtifactResolutionException: Failure to transfer org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 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 org.apache.maven.plugins:maven-compiler-plugin:pom:2.3.2 from/to central (http://repo.maven.apache.org/maven2): null to http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.3.2/maven-compiler-plugin-2.3.2.pom pom.xml /WD_Automation line 1 Maven Project Build Lifecycle Mapping Problem 
Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (execution: default-testCompile, phase: test-compile) pom.xml /WD_Automation line 1 Maven Project Build Lifecycle Mapping Problem 

私は理解していないが、なぜ私の避難所「理由ポンやその他のものには触れないでください。

アイデアはありますか?

+0

プロキシ/ファイアウォールの問題... – khmarbaise

答えて

2

MavenCentralからプラグインをダウンロードしようとしますが、失敗します。これは、通常、ネットワークまたはプロキシの問題です。

+0

ネットワークまたはプロキシを変更できない場合、解決策はありますか? – celianou

+1

プロキシ設定をsettings.xmlに入れることができます –

+0

例がありますか? – celianou

0

エラーメッセージから、おそらくこのレポジトリhttp://repo.maven.apache.org/maven2には未読ですが、インターネット上で使用可能なrepositroyを検索できます。

関連する問題