Maven项目报错:Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clea

Posted 疯子加天才

tags:

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

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project study-search: Failed to clean project: Failed to delete D:\Pxxtarget\tomcat\logs\access_log.2017-3-24

[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.

 

本来是执行clean tomcat7:run命令的,结果执行clean的时候就报错了,不能清除log,那就是log被某个程序占用了,所以不能清除,XX,刚刚启动的程序没有关闭,terminate.再次启动,OK了!

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

mavenmaven 项目 deploy 报错:Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7(示(代

mavenMaven插件篇 --- maven项目 mvn install 报错: Failed to execute goal on project 项目名: Could not resol(代

maven项目使用tomcat启动报错:Server Tomcat v8.5 Server at localhost failed to start

创建maven项目报错“Failed to create a Maven project: ‘XXX/SpringBootDemo/pom.xml‘ already exists in VFS“

idea中的springboot的maven项目报错Failed to clean project: Failed to delete D: ew_shunyishunyi argetshun

IDEA创建maven项目报错解决:Failed to create a Maven project: 'C:/Users/../IdeaProjects/../pom.xml' al