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

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project vue: Failed to clean project: Failed to delete D:\install\eclipse\eclipsewp\vue\target\tomcat\logs\access_log.2019-03-26 -> [Help 1]

clean 的时候报如下错误

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project vue: Failed to clean project: Failed to delete D:\install\eclipse\eclipsewp\vue\target\tomcat\logs\access_log.2019-03-26 -> [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.

因为 access_log 这个文件正在被应用所使用,一般是如下图:

在这里插入图片描述

把这个 全关掉 就可以了

猜你喜欢

转载自blog.csdn.net/YKenan/article/details/88812522