Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project aaa: Failed to clean project: Failed to delete D:\IdeaProjects\aaa\target -> [Help 1]

通过maven 打包时在clean 时提示 target 文件被占用

解决方法:

 

在开始搜索框中,输入“资源监视器”,打开资源监视器:,如下图所示:

 

idea Failed to clean project Failed to delete target

在该窗口中,切换到cpu 页签,然后在 关联的句柄中,输入 文件名(target),按下回车键,即可查找到被占用的进程

idea Failed to clean project Failed to delete target

右键结束进程。ok

相关文章:

  • 2021-07-09
  • 2021-07-18
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-31
  • 2021-05-10
  • 2021-06-12
  • 2022-12-23
  • 2022-01-21
  • 2021-11-25
相关资源
相似解决方案