com.sun.jersey.api.container.ContainerException: Method, public javax.ws.rs.core.Response io.swagger.jaxrs.listing.AcceptHeaderApiListingResource.getListingYaml(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo), annotated with GET of resource, class io.swagger.jaxrs.listing.AcceptHeaderApiListingResource, is not recognized as valid Java method annotated with @HttpMethod.

Google Groups | tam wei | 4 months ago
  1. 0

    integrate swagger into Jersey for auto generation of Swagger definition

    Google Groups | 4 months ago | tam wei
    com.sun.jersey.api.container.ContainerException: Method, public javax.ws.rs.core.Response io.swagger.jaxrs.listing.AcceptHeaderApiListingResource.getListingYaml(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo), annotated with GET of resource, class io.swagger.jaxrs.listing.AcceptHeaderApiListingResource, is not recognized as valid Java method annotated with @HttpMethod.
  2. 0

    G's Blog: Running JAX-RS/Jersey/JSR311 on weblogic

    blogspot.com | 4 months ago
    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  3. 0

    Developing REST Web Services Tutorial - not working - Genuitec

    genuitec.com | 5 months ago
    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

    三步发布java方式的rest服务 - VirgooooS - ITeye技术网站

    iteye.com | 6 months ago
    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
  6. 0

    Solution: Getting HTML from a JSP page for a resource | 2PartsMagic Blog

    2partsmagic.com | 5 months ago
    com.sun.jersey.api.container.ContainerException: Method, public void com.cmc.facts.rest.HelloWorldResource.getAccountHTML(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException, annotated with GET of resource, class com.cmc.facts.rest.HelloWorldResource, is not recognized as valid Java method annotated with @HttpMethod.

    3 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

      Method, public javax.ws.rs.core.Response io.swagger.jaxrs.listing.AcceptHeaderApiListingResource.getListingYaml(javax.ws.rs.core.Application,javax.servlet.ServletConfig,javax.ws.rs.core.HttpHeaders,javax.ws.rs.core.UriInfo), annotated with GET of resource, class io.swagger.jaxrs.listing.AcceptHeaderApiListingResource, is not recognized as valid Java method annotated with @HttpMethod.

      at com.sun.jersey.server.impl.model.method.ResourceHttpMethod.<init>()
    2. Jersey
      WebApplicationImpl.initiate
      1. com.sun.jersey.server.impl.model.method.ResourceHttpMethod.<init>(ResourceHttpMethod.java:92)
      2. com.sun.jersey.server.impl.model.method.ResourceHttpMethod.<init>(ResourceHttpMethod.java:69)
      3. com.sun.jersey.server.impl.model.method.ResourceHttpMethod.<init>(ResourceHttpMethod.java:61)
      4. com.sun.jersey.server.impl.model.ResourceClass.processMethods(ResourceClass.java:311)
      5. com.sun.jersey.server.impl.model.ResourceClass.<init>(ResourceClass.java:133)
      6. com.sun.jersey.server.impl.application.WebApplicationImpl.newResourceClass(WebApplicationImpl.java:554)
      7. com.sun.jersey.server.impl.application.WebApplicationImpl.getResourceClass(WebApplicationImpl.java:517)
      8. com.sun.jersey.server.impl.application.WebApplicationImpl.processRootResources(WebApplicationImpl.java:1147)
      9. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:912)
      10. com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:589)
      10 frames
    3. Jersey
      ServletContainer.init
      1. com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:403)
      2. com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:252)
      3. com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:550)
      4. com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:201)
      5. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:307)
      6. com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:470)
      6 frames
    4. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:240)
      1 frame
    5. Atmosphere weblogic
      StubSecurityHelper$ServletInitAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:299)
      2. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:250)
      2 frames
    6. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    7. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    8. weblogic.servlet.provider
      WlsSubjectHandle.run
      1. weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
      1 frame
    9. Atmosphere weblogic
      WebAppServletContext.loadServletsOnStartup
      1. weblogic.servlet.internal.StubSecurityHelper.initServletInstance(StubSecurityHelper.java:94)
      2. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:82)
      3. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:74)
      4. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:60)
      5. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:34)
      6. weblogic.servlet.internal.ServletStubImpl.initStubLifecycleHelper(ServletStubImpl.java:624)
      7. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:565)
      8. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1874)
      9. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1848)
      9 frames