Jersey REST Web Service, Tomcat, Eclipse and 404’s

Jersey 2.0 does not recognize init-param with name com.sun.jersey.config.property.packages (web.xml). Try to change it to jersey.config.server.provider.packages as described in ServerProperties.PROVIDER_PACKAGES.

UPDATE (2020): try this link for current apidocs ServerProperties.PROVIDER_PACKAGES:

Leave a Comment