When I try to clean the project from tomcat. I\'m getting this error:
Could not delete
. May be locked by another process.
First of all, try to just restart tomcat.
Then, try to clean everything:
Tomcat vX.Y Server > Clean
.Project > Clean
.Tomcat vX.Y Server
, underneath it your project is displayed, right click it and select "Clean Module Work Directory..."You can also try to start the server in Debug mode: right click Tomcat vX.Y Server > Debug
.
The message is good, you have another process/application currently using the resources eclipse is trying to clean. If you're on linux, you can use lsof to find it. On windows, you have to guess or go through all applications currently opened.
You just try to clean your tomcat server .
Its work for me