i'm not sure what exactly was wrong. however, i ended up resolving this issue by removing the project from the workspace, re-creating it from scratch, and importing my class into the re-created project.


even for me the same problem has occurred .... i have clean the tomcat and the tomcat work directory and run the project again it worked fine...

this may happen because of the cache, sometimes which is not cleaned properly while building the application.

sometimes deleting the project from the eclise and importing it again doing it from scratch will also clear the problem

Related Query