I am developing an application with SpringMVC and Tomcat using Eclipse. The problem is that the server is not updating the changes I am making.
One example:
@RequestMapping(value = "test", method = RequestMethod.GET) public ModelAndView test(){ ModelAndView mv = new ModelAndView("test"); System.out.println("test"); return mv; }
Each time I click on the display URL, Eclipse prints a test in my console. If I comment on println , I get the same result.
Attempts to fix the problem:
- clear Tomcat directory
- restart the server
- close eclipse
- add / remove a project on the Server tab
- remove the jsp that uses the method
- various browsers
All without effect. It just looks like Tomcat is not updating any changes made to the code.
java spring eclipse tomcat hotdeploy
Mauro m
source share