maven打包出现错误: Failed to clean project: Failed to delete

在maven进行clean 或者package的时候出现:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project MmpFrontTest: Failed to clean project: Failed to delete D:\develop\workspace\MmpFrontTest\target\classes\properties\config.properties -> [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

解决方案

  • 记得把当前的tomcat服务关掉!!!

你可能感兴趣的:(maven打包出现错误: Failed to clean project: Failed to delete)