com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.

Stack Overflow | APS | 5 months ago
  1. 0

    ServiceMix JAX-RS - ResourceConfig instance does not contain any root resource classes

    Stack Overflow | 5 months ago | APS
    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  2. 0

    Unable to start application with no resources

    GitHub | 3 years ago | reines
    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  3. 0

    Jersey + Atmosphere + (Swagger-jaxrs | swagger-jersey) ends up with exception

    GitHub | 3 years ago | alexogar
    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Allocate exception for servlet - Tomcat 6 versus 7

    Stack Overflow | 2 years ago | user2394774
    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  6. 0

    Unable to load Jersey RESTful services on JBoss EAP 6.1 when packed as an EAR file

    Stack Overflow | 3 years ago | user3508858
    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.

    19 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.jersey.api.container.ContainerException

      The ResourceConfig instance does not contain any root resource classes.

      at com.sun.jersey.server.impl.application.RootResourceUriRules.<init>()
    2. Jersey
      WebApplicationImpl$13.f
      1. com.sun.jersey.server.impl.application.RootResourceUriRules.<init>(RootResourceUriRules.java:99)[212:com.sun.jersey.jersey-server:1.18.1]
      2. com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1359)[212:com.sun.jersey.jersey-server:1.18.1]
      3. com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:180)[212:com.sun.jersey.jersey-server:1.18.1]
      4. com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:799)[212:com.sun.jersey.jersey-server:1.18.1]
      5. com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:795)[212:com.sun.jersey.jersey-server:1.18.1]
      5 frames
    3. jersey-core
      Errors.processWithErrors
      1. com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)[211:com.sun.jersey.core:1.18.1]
      1 frame
    4. Jersey
      WebApplicationImpl.initiate
      1. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)[212:com.sun.jersey.jersey-server:1.18.1]
      2. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790)[212:com.sun.jersey.jersey-server:1.18.1]
      2 frames
    5. Jersey
      ServletContainer.init
      1. com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:491)[213:com.sun.jersey.servlet:1.18.1]
      2. com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:321)[213:com.sun.jersey.servlet:1.18.1]
      3. com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:605)[213:com.sun.jersey.servlet:1.18.1]
      4. com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207)[213:com.sun.jersey.servlet:1.18.1]
      5. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:376)[213:com.sun.jersey.servlet:1.18.1]
      6. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:559)[213:com.sun.jersey.servlet:1.18.1]
      6 frames
    6. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:161)[58:org.apache.geronimo.specs.geronimo-servlet_3.0_spec:1.0.0]
      1 frame
    7. Jetty
      ContextHandler.doStart
      1. org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)[64:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      2. org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)[64:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      3. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[64:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      4. org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)[64:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      5. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)[64:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      6. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)[64:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      6 frames
    8. OPS4J Pax Web - Jetty
      HttpServiceContext.doStart
      1. org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doStart(HttpServiceContext.java:222)[73:org.ops4j.pax.web.pax-web-jetty:3.1.2]
      1 frame
    9. Jetty
      AbstractLifeCycle.start
      1. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)[64:org.eclipse.jetty.aggregate.jetty-all-server:8.1.15.v20140411]
      1 frame
    10. OPS4J Pax Web - Jetty
      JettyServerImpl$1.start
      1. org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$1.start(JettyServerImpl.java:202)[73:org.ops4j.pax.web.pax-web-jetty:3.1.2]
      1 frame
    11. OPS4J Pax Web - Runtime
      HttpServiceProxy.end
      1. org.ops4j.pax.web.service.internal.HttpServiceStarted.end(HttpServiceStarted.java:1032)[72:org.ops4j.pax.web.pax-web-runtime:3.1.2]
      2. org.ops4j.pax.web.service.internal.HttpServiceProxy.end(HttpServiceProxy.java:422)[72:org.ops4j.pax.web.pax-web-runtime:3.1.2]
      2 frames
    12. OPS4J Pax Web - Extender - WAR
      WebAppPublisher$WebAppDependencyListener.addingService
      1. org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.end(RegisterWebAppVisitorWC.java:341)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      2. org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:678)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      3. org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.register(WebAppPublisher.java:237)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      4. org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:182)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      5. org.ops4j.pax.web.extender.war.internal.WebAppPublisher$WebAppDependencyListener.addingService(WebAppPublisher.java:135)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      5 frames
    13. OSGi
      ServiceTracker.open
      1. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.4.1]
      2. org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[karaf.jar:2.4.1]
      3. org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.4.1]
      4. org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.4.1]
      5. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.4.1]
      6. org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.4.1]
      6 frames
    14. OPS4J Pax Web - Extender - WAR
      AbstractExtender$1.run
      1. org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:101)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      2. org.ops4j.pax.web.extender.war.internal.WebObserver.deploy(WebObserver.java:213)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      3. org.ops4j.pax.web.extender.war.internal.WebObserver$1.doStart(WebObserver.java:175)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      4. org.ops4j.pax.web.extender.war.internal.extender.SimpleExtension.start(SimpleExtension.java:58)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      5. org.ops4j.pax.web.extender.war.internal.extender.AbstractExtender$1.run(AbstractExtender.java:266)[201:org.ops4j.pax.web.pax-web-extender-war:3.1.2]
      5 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_91]
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_91]
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_91]
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_91]
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_91]
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_91]
      7. java.lang.Thread.run(Thread.java:745)[:1.8.0_91]
      7 frames