Eclipse打war包(maven项目)错误To see the full stack trace of the errors, re-run Maven with the -e switch

来源:互联网 发布:营养分析软件 编辑:程序博客网 时间:2024/05/16 05:32

今天测试时,服务器上面的项目有问题,就重新打包了,第一打包成功,通过FTP工具上传到服务器上面,但是到第二次时,一直报错,看了日志没有啥,后来问了同事,才知道,maven对这个目录有保护,FTP打开了这个目录,因此打包才不成功的,把FTP工具关掉,重新打包,就可以了。问题终于找到了 ,记录一下。

以下是错误的日志

[WARNING] The requested profile "test" could not be activated because it does not exist.[ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project stcs-monitor: Failed to clean project: Failed to delete C:\Users\Administrator\workspace\stcs-monitor\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

千里之行,始于足下。改变将来,从现在开始。

2 0
原创粉丝点击