I am developing an application with SpringMVC and Tomcat using Eclipse. The problem is: the server does not update 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;
}
Every time I hit the mapped url, Eclipse prints test in my console. If I comment out the println
, I get the same result.
Attempts to fix the problem:
- clean Tomcat directory
- restart the server
- close Eclipse
- add/remove the project in the Server tab
- delete the JSP the method is using
- different browsers
All to no effect. It just looks like Tomcat is not updating any changes I make in the code.