users@jersey.java.net

The ResourceConfig instance does not contain any root resource classes.

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Tue, 21 Apr 2009 10:06:50 -0400

Hi Guys,

I have a different issue from the other I posted minutes ago, in a
separate test project from my main one. I am getting an error from
jersey code on startup. This error has been discussed in archives but I
cannot determine what might cause it based on reading the archives.
Thanks for any suggestions on what to look for:

[WARN] Nested in javax.servlet.ServletException:
com.sun.jersey.api.container.ContainerException: The ResourceConfig
instance does not contain any root resource classes.:
com.sun.jersey.api.container.ContainerException: The ResourceConfig
instance does not contain any root resource classes.
    at
com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:718)
    at
com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:590)
    at
com.sun.jersey.spi.spring.container.servlet.SpringServlet.initiate(SpringServlet.java:78)
    at
com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
    at
com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:449)
    at
com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:169)
    at
com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:281)
    at
com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:442)
    at javax.servlet.GenericServlet.init(GenericServlet.java:241)
    at
org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)

-- 
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com