I am at my wits end here trying to deploy a servlet with annotations.
I have managed to successfully deploy it without annotations i.e via the web.xml & everything is fine but I get a status 404 when trying to deploy with annotations.
I am running tomcat
Server version: Apache Tomcat/7.0.12
Server built: Apr 1 2011 06:13:02
Server number: 22.214.171.124
OS Name: Linux
OS Version: 2.6.35-28-generic
JVM Version: 1.6.0_20-b02
JVM Vendor: Sun Microsystems Inc.
I followed the spec so I am sure I am doing everything right from a coding point of view, there is no mention of this servlet what so ever in the apps web.xml