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

  1. 0

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

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

    Jersey REST Within WAR File

    Stack Overflow | 10 months ago | Mouhammed Soueidane
    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  3. 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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 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.

    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)[jersey-server.jar:1.19]
      2. com.sun.jersey.server.impl.application.WebApplicationImpl._initiate(WebApplicationImpl.java:1359)[jersey-server.jar:1.19]
      3. com.sun.jersey.server.impl.application.WebApplicationImpl.access$700(WebApplicationImpl.java:180)[jersey-server.jar:1.19]
      4. com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:799)[jersey-server.jar:1.19]
      5. com.sun.jersey.server.impl.application.WebApplicationImpl$13.f(WebApplicationImpl.java:795)[jersey-server.jar:1.19]
      5 frames
    3. jersey-core
      Errors.processWithErrors
      1. com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:193)[jersey-core.jar:1.19]
      1 frame
    4. Jersey
      WebApplicationImpl.initiate
      1. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:795)[jersey-server.jar:1.19]
      2. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:790)[jersey-server.jar:1.19]
      2 frames
    5. Jersey
      ServletContainer.init
      1. com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:509)[jersey-servlet.jar:1.19]
      2. com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:339)[jersey-servlet.jar:1.19]
      3. com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:605)[jersey-servlet.jar:1.19]
      4. com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:207)[jersey-servlet.jar:1.19]
      5. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:394)[jersey-servlet.jar:1.19]
      6. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:577)[jersey-servlet.jar:1.19]
      6 frames
    6. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:242)[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
      1 frame
    7. Glassfish Core
      AuthenticatorBase.invoke
      1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1194)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      2. org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:950)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:151)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      5 frames
    8. JPA
      WebNonTxEmCloserValve.invoke
      1. org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)[jboss-as-jpa-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
      2. org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)[jboss-as-jpa-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
      2 frames
    9. JBoss Web
      SecurityContextAssociationValve.invoke
      1. org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)[jboss-as-web-7.2.1.Final-redhat-10.jar:7.2.1.Final-redhat-10]
      1 frame
    10. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      3. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      4. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:559)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      5. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      5 frames
    11. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)[jbossweb-7.2.2.Final-redhat-1.jar:7.2.2.Final-redhat-1]
      3 frames
    12. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[rt.jar:1.7.0_79]
      1 frame