servicecom.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Atlassian JIRA by Pawel Niewiadomski [Atlassian], 1 year ago
The ResourceConfig instance does not contain any root resource classes.
via Atlassian JIRA by Pawel Niewiadomski [Atlassian], 1 year ago
The ResourceConfig instance does not contain any root resource classes.
servicecom.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at com.sun.ws.rest.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:386)
at com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:314)
at com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:273)
at com.sun.ws.rest.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:331)
at com.sun.ws.rest.spi.container.servlet.ServletContainer.init(ServletContainer.java:110)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
at org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:342)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)
at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:131)
at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167)
at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:39)
at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.