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

Atlassian JIRA | Pawel Niewiadomski [Atlassian] | 8 years ago
  1. 0

    Originated from http://forums.atlassian.com/thread.jspa?messageID=257284826&tstart=0#257284826 Seems that whenever there's a space in a path to Crucible it fails to initialize remote API - here's a copy of output generated by Crucible: {noformat} 500 Server Error FishEye was unable to process your request. com.sun.ws.rest.api.container.ContainerException The ResourceConfig instance does not contain any root resource classes. You are running release CR1.5.3 FE1.5.3 (build-302 2008-06-19), please report your release number when reporting bugs. On console i've got long message: 16 main INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mort bay.log) via org.mortbay.log.Slf4jLog 1952 main INFO org.mortbay.log - jetty-6.1.6 2296 main INFO / - Initializing Spring root WebApplicationContext 4872 main INFO / - org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: lo aded (conf ok) 5949 main INFO org.mortbay.log - Started LocalConnector@0.0.0.0:1 5965 main INFO org.mortbay.log - Started ProxyPassingSelectChannelConnector@0. 0.0.0:8060 Jul 16, 2008 1:00:49 PM com.sun.ws.rest.api.core.PackagesResourceConfig init INFO: Scanning for root resource and provider classes in the packages: com.atlassian.crucible.spi.rpc Jul 16, 2008 1:00:49 PM com.sun.ws.rest.impl.container.config.AnnotatedClassScan ner scan WARNING: URL, jar:file:/C:/Documents and Settings/kuba/FISHEYE_HOME/fisheye .jar!/com/atlassian/crucible/spi/rpccannot be converted to a URI Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomFeedProvider implementing the provider i nterface javax.ws.rs.ext.MessageBodyReader is not found. The provider implementa tion is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomEntryProvider implementing the provider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider implement ation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONJAXBElementProvider implementing the provider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider implementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONArrayProvider implementing the provi der interface javax.ws.rs.ext.MessageBodyReader is not found. The provider imple mentation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONObjectProvider implementing the prov ider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider impl ementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomFeedProvider implementing the provider i nterface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementa tion is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomEntryProvider implementing the provider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implement ation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONJAXBElementProvider implementing the provider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONArrayProvider implementing the provi der interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider imple mentation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the class com.sun.ws.rest.impl.provider.entity.JSONObjectProvider implementing the prov ider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementation is ignored.Jul 16, 2008 1:00:50 PM com.sun.ws.rest.impl.application.WebApplicationImpl processRootResources SEVERE: The ResourceConfig instance does not contain any root resource classes.12023 btpool0-2 ERROR org.mortbay.log - Nested in javax.servlet.ServletException: com.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.: com.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.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:131) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) 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) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)12038 btpool0-2 ERROR org.mortbay.log - /rest-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.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:131) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) 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) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) {noformat} After placing moving Crucible to a path without a space characters it works without problems. BTW if you put Crucible into a path with spaces on Unix it will fail to start.

    Atlassian JIRA | 8 years ago | Pawel Niewiadomski [Atlassian]
    servicecom.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  2. 0

    Originated from http://forums.atlassian.com/thread.jspa?messageID=257284826&tstart=0#257284826 Seems that whenever there's a space in a path to Crucible it fails to initialize remote API - here's a copy of output generated by Crucible: {noformat} 500 Server Error FishEye was unable to process your request. com.sun.ws.rest.api.container.ContainerException The ResourceConfig instance does not contain any root resource classes. You are running release CR1.5.3 FE1.5.3 (build-302 2008-06-19), please report your release number when reporting bugs. On console i've got long message: 16 main INFO org.mortbay.log - Logging to org.slf4j.impl.SimpleLogger(org.mort bay.log) via org.mortbay.log.Slf4jLog 1952 main INFO org.mortbay.log - jetty-6.1.6 2296 main INFO / - Initializing Spring root WebApplicationContext 4872 main INFO / - org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: lo aded (conf ok) 5949 main INFO org.mortbay.log - Started LocalConnector@0.0.0.0:1 5965 main INFO org.mortbay.log - Started ProxyPassingSelectChannelConnector@0. 0.0.0:8060 Jul 16, 2008 1:00:49 PM com.sun.ws.rest.api.core.PackagesResourceConfig init INFO: Scanning for root resource and provider classes in the packages: com.atlassian.crucible.spi.rpc Jul 16, 2008 1:00:49 PM com.sun.ws.rest.impl.container.config.AnnotatedClassScan ner scan WARNING: URL, jar:file:/C:/Documents and Settings/kuba/FISHEYE_HOME/fisheye .jar!/com/atlassian/crucible/spi/rpccannot be converted to a URI Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomFeedProvider implementing the provider i nterface javax.ws.rs.ext.MessageBodyReader is not found. The provider implementa tion is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomEntryProvider implementing the provider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider implement ation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONJAXBElementProvider implementing the provider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider implementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONArrayProvider implementing the provi der interface javax.ws.rs.ext.MessageBodyReader is not found. The provider imple mentation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONObjectProvider implementing the prov ider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider impl ementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomFeedProvider implementing the provider i nterface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementa tion is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, com/sun/syndication/io/FeedException, of the class c om.sun.ws.rest.impl.provider.entity.AtomEntryProvider implementing the provider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implement ation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONJAXBElementProvider implementing the provider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the cla ss com.sun.ws.rest.impl.provider.entity.JSONArrayProvider implementing the provi der interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider imple mentation is ignored. Jul 16, 2008 1:00:50 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIt erator hasNext WARNING: A dependent class, org/codehaus/jettison/json/JSONException, of the class com.sun.ws.rest.impl.provider.entity.JSONObjectProvider implementing the prov ider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementation is ignored.Jul 16, 2008 1:00:50 PM com.sun.ws.rest.impl.application.WebApplicationImpl processRootResources SEVERE: The ResourceConfig instance does not contain any root resource classes.12023 btpool0-2 ERROR org.mortbay.log - Nested in javax.servlet.ServletException: com.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.: com.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.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:131) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) 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) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)12038 btpool0-2 ERROR org.mortbay.log - /rest-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.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:131) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81) at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136) 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) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) {noformat} After placing moving Crucible to a path without a space characters it works without problems. BTW if you put Crucible into a path with spaces on Unix it will fail to start.

    Atlassian JIRA | 8 years ago | Pawel Niewiadomski [Atlassian]
    servicecom.sun.ws.rest.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.

    Root Cause Analysis

    1. 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()
    2. com.sun.ws
      ServletContainer.init
      1. com.sun.ws.rest.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:386)
      2. com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:314)
      3. com.sun.ws.rest.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:273)
      4. com.sun.ws.rest.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:331)
      5. com.sun.ws.rest.spi.container.servlet.ServletContainer.init(ServletContainer.java:110)
      5 frames
    3. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:433)
      2. org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:342)
      3. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:463)
      4. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1144)
      4 frames
    4. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:63)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
      2 frames
    5. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    6. com.cenqua.crucible
      CrucibleFilter.doFilter
      1. com.cenqua.crucible.filters.CrucibleFilter.doFilter(CrucibleFilter.java:131)
      1 frame
    7. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    8. com.cenqua.fisheye
      TotalityFilter.doFilter
      1. com.cenqua.fisheye.web.filters.TotalityFilter.doFilter(TotalityFilter.java:167)
      1 frame
    9. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    10. com.atlassian.seraph
      TrustedApplicationsFilter.doFilter
      1. com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120)
      1 frame
    11. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:183)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:138)
      2 frames
    12. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    13. Jetty Util
      GzipFilter.doFilter
      1. org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
      2. org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:129)
      2 frames
    14. Jetty Server
      ServletHandler$Chain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      1 frame
    15. com.cenqua.fisheye
      UpfrontFilter.doFilter
      1. com.cenqua.fisheye.web.filters.UpfrontFilter.doFilter(UpfrontFilter.java:39)
      1 frame
    16. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1136)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    17. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame