Maven异常_04_Failed to clean project

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Maven异常_04_Failed to clean project相关的知识,希望对你有一定的参考价值。

异常:Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project taotao-manager-web: Failed to clean project

现象:eclipse在使用maven的tomcat控件编译java程序时,报错Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project taotao-manager-web: Failed to clean project

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

解决方法

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

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

                    再重新编译即可。

 

以上是关于Maven异常_04_Failed to clean project的主要内容,如果未能解决你的问题,请参考以下文章

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

hbase_异常_01_Hbase: Failed to become active master

hive_异常_01_ Terminal initialization failed; falling back to unsupported

Linux_异常_02_Failed to restart iptables.service: Unit not found.

Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-

Jenkins编译过程中出现ERROR_ Failed to parse POMs错误