I\'m developing a rest service with Jersey 2.0 (I downloaded from http://repo1.maven.org/maven2/org/glassfish/jersey/bundles/jaxrs-ri/2.5/jaxrs-ri-2.5.zip) and I\'m using To
My solution:
/ext folder of the Jersey .zip/lib folder of the Jersey zip filejavax.ws.rs-api-2.jar that you can find in /api folder of JerseyWith this, I don't have problems to run Tomcat with Jersey.
And this is my web.xml for Jersey 2.0
MyRESTServices
index.html
index.htm
index.jsp
default.html
default.htm
default.jsp
Jersey Web Application
org.glassfish.jersey.servlet.ServletContainer
jersey.config.server.provider.packages
com.myservice.services
1
Jersey Web Application
/rest/*
Where com.myservice.services is the package where I have my services
Thanks for your comments!!