So I am trying to run a very simple example from http://www.ibm.com/developerworks/web/library/wa-aj-tomcat/#download of building a REST Jersey Webservice
Here is what i did
-Named the project Jersey (Dynamic Web Project)
-Created a package "sample.hello.resources"
-Added a class called "HelloResource"
-The code of the class HelloResource is
Just now ran into this problem while following the Jersey docs and finally figured out what the docs failed to mention. For those of you using Maven to build your web app, you need to add the following dependency:
Check if jersey-server library is there in the Path.
Sometimes, if your version doesn't match, then there's problem in jersey server startup.
I too faced the problem. Later with jersey-server-1.9.1.rar, the problem got solved.