I got the same problem and found Joris's answer very helpful. But additionally I need to add
<mvc:annotation-driven />
to the servlet config file. Without that resource mapping will not work and all handlers will stop working. Hope this will help someone.