JAVA 打包 war 文件报错

来源:互联网 发布:类似快快游戏的软件 编辑:程序博客网 时间:2024/06/08 14:55
打包 war 文件报错:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project maven-web: Failed to clean project: Failed to delete D:\code\src\maven-sub-web\target -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :maven-sub-web

何解?
最终查到第一行的目录,是 ftp 软件正在浏览的。
关掉FTP 软件即可以正常打包了。
原创粉丝点击