maven 编译出错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:c lean

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:c
lean (default-clean) on project srpingboot-test: Failed to clean project: Failed
 to delete D:\a_yixin\app\dev_en\eclipse\eclipse-workspace-test\srpingboot-test\
target\maven-archiver\pom.properties -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception

 

原因:有tomcat在运行

解决方法:关闭eclipse中console启动的tomcat,然后重新编译

 

你可能感兴趣的:(maven)