Intellij IDEA maven clean失败

8 篇文章 0 订阅

 

(百度解决办法:均失败.暂保留)

 
  1. [INFO] Scanning for projects...

  2. [INFO]

  3. [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1

  4. [INFO]

  5. [INFO] ------------------------------------------------------------------------

  6. [INFO] Building vn-wl-dxc 1.0.0-SNAPSHOT

  7. [INFO] ------------------------------------------------------------------------

  8. [INFO]

  9. [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ vn-wl-dxc ---

  10. [INFO] Deleting D:\workspase3\yx-jc-ent\vn-wl-al\vn-wl-dxc\target

  11. [INFO] ------------------------------------------------------------------------

  12. [INFO] BUILD FAILURE

  13. [INFO] ------------------------------------------------------------------------

  14. [INFO] Total time: 1.586 s

  15. [INFO] Finished at: 2014-11-22T10:24:56+08:00

  16. [INFO] Final Memory: 7M/123M

  17. [INFO] ------------------------------------------------------------------------

  18. [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project vn-wl-dxc: Failed to clean project: Failed to delete D:\workspase3\yx-jc-ent\vn-wl-al\vn-wl-dxc\target\vn-wl-dxc\logs\vn-wl-dxc-bp.log -> [Help 1]

  19. [ERROR]

  20. [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

  21. [ERROR] Re-run Maven using the -X switch to enable full debug logging.

  22. [ERROR]

  23. [ERROR] For more information about the errors and possible solutions, please read the following articles:

  24. [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

  25. Process finished with exit code 1


 

失败原因有两种情况:1、打包的运用已经在运行、2 打包的配置文件被打开

 

第三种情况:target目录下文件全无,idea 进行 Maven的clean 时报错提示

Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean

直接进行install  解决.然后在进行clean 恢复正常;

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值