Maven clean报错

来源:互联网 发布:空气人形 知乎 编辑:程序博客网 时间:2024/06/04 10:25

1、报错信息

] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean (default-clean) on project ebhouse-war: Failed to clean project: Failed to delete E:\workspace\yyxebhouse\ebhouse-war\target\classes\com\ebhouse -> [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

2、Description Resource Path Location Type The project was not built due to "Could not delete '/ebhouse

看到错误2之后我去手动删除竟然删除不了,发现是我ftp连着这个目录呢,立马断开连接,关闭ftp工具;然后删除,立马好了;

然后在eclipse中clean下;就好了;

0 0
原创粉丝点击