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服务关掉!!!
    原文作者:太大_453b
    原文地址: https://www.jianshu.com/p/f926f7dc1caa
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞