Nov
11
2007
MyEclipse tomcat will not deploy
This is really irritating. I can’t even count the number of times the MyEclipse hot deployment to Tomcat has gone pear shaped. Fixing this particular problem can really waste a lot of time.
Symptoms: Repeated message that MyEclipse cannot redeploy to Tomcat as the deployment is locked. Various recommendations follow that you stop tomcat and redeploy, ect and they all fail. When this really starts getting weird is when you undeploy remove the deployment in MyEclipse, restart Eclipse and Tomcat and still the same stuff happens.
Solution: You have to get really medieval on it.
- Remove the deployment.
- Stop tomcat
- Refresh the project
- Start Eclipse from the command line using the -clean flag i.e. $eclipse -clean or c:\eclipse.exe -clean (in windows)