What dependency am I missing? I am currently using:
org.springframework spring-w
I had almost the same problem but it was just because some .jar library wasn't updated.
I couldn't use @RequestMapping cause that, just "mouse over @RequestMapping" and click on "Fix ..." and the .jar library will be downloading and installing.