users@jersey.java.net

Re: The ResourceConfig instance does not contain any root resource classes.

From: Davis Ford <davisford_at_gmail.com>
Date: Wed, 19 Nov 2008 13:19:43 -0500

Problem solved. I know this blog was mentioned in the group already:

http://blogs.sun.com/japod/entry/building_simple_jersey_web_app

I failed to notice the package namespace change. When I changed all
the packages in web.xml to match the new namespace com.sun.jersey.* it
works for me.

<exclamation>slap forehead</exclamation>


On Wed, Nov 19, 2008 at 1:04 PM, Davis Ford <davisford_at_gmail.com> wrote:
> I think the problem may be with the servlet-class ?
>
> Some examples on the web, including the official sun jersey blog indicate this:
>
> <servlet-class>com.sun.ws.rest.spi.container.servlet.ServletContainer</servlet-class>
>
> Below I was using this:
>
> <servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
>