I use STS(spring tool suite) + maven plugin.
Every time when I run my application using maven-clean
I see following error:
[INFO] Scanni
The reason for this error is, the file which maven is trying to delete is being used by some process. One example of such process is Eclipse or any other IDE is doing validation on same project.
Please make sure that no validation running from eclipse or in any other IDE where project is open.
Maven complains if you do not have admin permissions on the target folder.Check if you have admin right to delete that folder.