Failed to clean project: Failed to delete

Failed to clean project: Failed to delete access_log.某个日志文件

之前我在做maven分布式项目搭建中启动tomcat插件测试dubbo资源调度是否正常时会遇到下面这种错误

错误信息

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project e3-manager-service: Failed to clean project: Failed to delete E:\ecplise18\qiu\e3demo\e3-manager\e3-manager-service\target\tomcat\logs\access_log.2018-06-08 -> [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] 

错误原因

因为之前你已经启动过服务了只需把它关掉就行了。

解决方法

这里写图片描述

猜你喜欢

转载自blog.csdn.net/qq_38790872/article/details/80623947