http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

来源:互联网 发布:开一家小型咖啡屋 知乎 编辑:程序博客网 时间:2024/06/05 08:20

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project huitao-manager-web: Failed to clean project: Failed to delete G:\javaee\e-business\xx\target\tomcat\logs\access_log.2016-03-23 -> [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


     在运行启动项目的时候出现了这样错误,项目的配置文件没有错误,却报了这样的异常,导致项目构建失败,很郁闷。网上查了一下。发现是在启动

之后项目的targe文件夹中的内容没有被清除掉,这个原因可能是因为启动maven后没有关闭,之后使用maven的方式启动了项目,导致后面这次启动之后,

想要clean却发现clean不了。就会导致这样的错误!

0 0
原创粉丝点击