1

WindowsワークスペースでEclipseワークスペース(バージョン:Marsリリース(4.5.0) ビルドID:20150621-1200)を使用しています。私がプロジェクトをチェックアウトし、Mavenを使ってビルドしようとすると、ビルドに失敗します。これは私が私が私のPCを再起動すると、私はこのファイル(プロジェクト全体)を削除することができますが、私は私のワークスペースに再びこのプロジェクトをチェックアウトするとき、私は同じエラーを取得surefireboosterを削除できません

[INFO] Scanning for projects... 
[INFO]                   
[INFO] ------------------------------------------------------------------------ 
[INFO] Building XYZ:: SU 2.0-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[INFO] Downloading: https://XYZ/maven-resources-plugin/maven-metadata.xml 
[INFO] Downloading: https://XYZ/maven-jar-plugin/maven-metadata.xml 
[INFO] Downloading: https://XYZ/maven-install-plugin/maven-metadata.xml 
[INFO] Downloading: https://XYZ/maven-metadata.xml 
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ geodis-su --- 
[INFO] Deleting C:\Users\Documents\workspace\XYZ\XYZ-su\target 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 7.300 s 
[INFO] Finished at: 2016-05-17T14:35:56+02:00 
[INFO] Final Memory: 18M/284M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project geodis-su: Failed to clean project: Failed to delete C:\Users\Documents\workspace\XYZ\XYZ-su\target\surefire\surefirebooter82744427512387012.jar -> [Help 1] 
[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/MojoExecutionException 

を取得エラーです。私は何をすべきか?

答えて

0

surfire jarを実行しているJavaプログラムがある可能性があります。それを見るには、jpsコマンドを起動します(これはJDKのソフト提供です)、プロセスを終了してからkillすることができます。

関連する問題