2016-11-19 32 views
1

Anypoint Studio IDEを使用してMavenでプロジェクトを実行しようとしました。Mule Maven - Mavenでプロジェクトを実行中にエラーが発生しました

しかし、私はコンソールでこのエラーを取得しています:あなたは、Java JDK 6の代わりに、JRE 6をインストールしている場合は、設定している場合

[ERROR] The build could not read 1 project -> [Help 1] 
[ERROR] 
[ERROR] The project com.mycompany:mymuleproject:1.0.0-SNAPSHOT (E:\worldspace\mymuleproject\pom.xml) has 2 errors 
[ERROR]  Unresolveable build extension: Plugin org.mule.tools.maven:mule-app-maven-plugin:1.2 or one of its dependencies could not be resolved: Could not find artifact com.sun:tools:jar:1.5.0 at specified path C:\Program Files\Java\jre1.8.0_102/../lib/tools.jar -> [Help 2] 
[ERROR]  Unknown packaging: mule @ line 9, column 16 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException 
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException 
+1

を確認してください。http://stackoverflow.com/questions/33614394/error-creating-a-maven-project – Rohan

+1

pom.xmlファイルなどの情報を提供してください。 – jordiburgos

答えて

0

チェックが次にチェックし、正しくJavaランタイムをチェックする(設定 - > Javaの - >インストールされたJRE)。

+0

現在、私はJRE8の代わりにJava JDK 1.8を使用しています。 – vijay

0

Windowsを使用していますか? IDEを管理者として実行していないときに、そのOSで同様の問題が発生しています。

プロジェクトディレクトリにmvn clean packageを実行しても同じ結果が得られますか?

関連する問題