idea Failed to clean project Failed to delete target

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]

When packing through maven, the target file will be prompted to be occupied when cleaning

resolvent:

 
In the start search box, enter “resource monitor” to open the resource monitor, as shown in the following figure:

 

In this window, switch to the CPU tab, enter the file name (target) in the associated handle, and press enter to find the occupied process

Right click to end the process. ok

Similar Posts: