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

Posted 你的心有一道墙

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了maven 编译出错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean相关的知识,希望对你有一定的参考价值。

eclipse在使用maven的tomcat控件编译java程序时,报错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project **-web: Failed to clean project: Failed to delete E:\**\target\tomcat\logs\access_log

这类错误

出现这种错误,通常是由于您已启动了另一个tomcat 进程或者运行的javaw.exe进程,导致报错。

解决方法:

1. 鼠标点击 X 进行关闭运行失败的 Console页,(如果运行多次,程序的console都只会放在这里)


关闭后,应该可以看到,红色小正方形。点击,使tomcat进程或运行的javaw.exe进程停止。

再重新编译即可。


以上是关于maven 编译出错 Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean的主要内容,如果未能解决你的问题,请参考以下文章

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

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

docker maven 出错:Failed to execute goal com.spotify:docker-maven-plugin:...: Request error: POST http

thingsboard 2.4.3 编译报错Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:

thingsboard 2.4.3 编译报错Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.0:

Maven多模块项目单独编译子模块项目时报错:Failed to execute goal on project