I have a strange problem in Eclipse Helios. When I alter my source code, my changes have no effect. Even if I alter the code in a way that looks uncompilable, it still can b
This most probably occurs when the meta data related to the workspace is corrupted. Simple solution would be to create an entirely new folder as workspace and import the project into this new workspace.
This is after you have tried all the clean build, rebuild etc.. :)
Just go to "Project->Build Automatically" and check it that's all
Try doing some minor changes in JSP file. Sometimes your Tomcat server contains old cache files which it uses even if CLEAN BUILD your project. Bringing updates in the JSP files helps Tomcat deploy the JSP file with modification rather than using the old cache files. I faced similar problem which was resolved the same way. Thanks to Latest changes are not reflected in servlet (tomcat)
Note : Please try this only if you have run out of other options in this thread.
So Just in case the other options like clean/rebuild listen in the other answers, do not address the problem do the following,
Close eclipse Go to the project folder on the hard drive. Delete the .metadata file and restart eclipse and revisit the workspace. The class path and libraries will be re validated and the project fresh built.
Try (re)building or saving first.
As mentioned before verify your Build Automatically option in Project->Build Automatically
, then clean the project so your changes will be compiled again.