I'm fairly new with Spring Framework and struggling to get this simple example to work on a Tomcat 6 instance. The example is here http://spring.io/guides/gs/rest-service/ .
It works fine when i run it within Eclipse but when i convert it to a WAR file and deploy, the directory in Tomcat is created but the service/tomcat responds with a 404.
I suspect i need to create a web.xml file (not sure the annotated way will work with tomcat 6 because it supports only servlet 2.5) but not sure where to start.
Any help would be much appreciated.