首页 > Web开发 > 详细

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

时间:2018-07-04 12:50:42      阅读:154      评论:0      收藏:0      [点我收藏+]
[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.

出现这种错误,通常是由于您已启动了另一个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

原文:https://www.cnblogs.com/ithfm/p/9262587.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!