Are you using TC server? Go to the folder your web application is deployed in and clean it out. Rebuild it and try again. Sometimes right clicking the server and selecting clean, followed by publish is sufficient. Otherwise go into that directory and manually clean it.
The path will probably look something like this, where the x's represent version numbers and can vary.
I tried your solution in cleaning the server and then publish but now when i start the application i receive a blank page.
after some seconds, i receive the alert: Page load failed with error: La requête a expiré.
I receive this message in the trace:
Exception in thread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" java.lang.OutOfMemoryError: PermGen space
thanks for your help because i'm from Php and tomcat seems to suck
Well you apparently don't have enough memory allocated to start your application. Double click the server in the servers tab and click the 'Open Launch Configuration' link. You can adjust the memory allocated under VM arguments look for the part that looks like this
and adjust the MaxPermSize.
You will find that of the newest STS version (3.1.0-RELEASE) has 2 download available. One is based on Eclipse JUNO 4.2.1 and another based on Eclipse JUNO 3.8.1. Don't use the one based on JUNO 4.2.1 there are some major performance issues with that version of Eclipse.
Joined: Oct 20, 2012
i make a clean tomcat work directory and it works