java.lang.NoSuchMethodError: org.glassfish.jersey.model.internal.RankedProvider.getContractTypes()Ljava/util/Set;

GitHub | IhabSoliman | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 196#238774581

    GitHub | 6 months ago | IhabSoliman
    java.lang.NoSuchMethodError: org.glassfish.jersey.model.internal.RankedProvider.getContractTypes()Ljava/util/Set;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.glassfish.jersey.model.internal.RankedProvider.getContractTypes()Ljava/util/Set;

      at org.glassfish.jersey.server.ApplicationHandler.filterNameBound()
    2. jersey-core-server
      ApplicationHandler$3.run
      1. org.glassfish.jersey.server.ApplicationHandler.filterNameBound(ApplicationHandler.java:837)[jersey-server-2.17.jar:na]
      2. org.glassfish.jersey.server.ApplicationHandler.getProcessingProviders(ApplicationHandler.java:726)[jersey-server-2.17.jar:na]
      3. org.glassfish.jersey.server.ApplicationHandler.initialize(ApplicationHandler.java:510)[jersey-server-2.17.jar:na]
      4. org.glassfish.jersey.server.ApplicationHandler.access$500(ApplicationHandler.java:166)[jersey-server-2.17.jar:na]
      5. org.glassfish.jersey.server.ApplicationHandler$3.run(ApplicationHandler.java:327)[jersey-server-2.17.jar:na]
      5 frames
    3. Jersey Core
      Errors.processWithException
      1. org.glassfish.jersey.internal.Errors$2.call(Errors.java:289)[jdbc-1.1.3.jar:na]
      2. org.glassfish.jersey.internal.Errors$2.call(Errors.java:286)[jdbc-1.1.3.jar:na]
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jdbc-1.1.3.jar:na]
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jdbc-1.1.3.jar:na]
      5. org.glassfish.jersey.internal.Errors.processWithException(Errors.java:286)[jdbc-1.1.3.jar:na]
      5 frames
    4. jersey-core-server
      ApplicationHandler.<init>
      1. org.glassfish.jersey.server.ApplicationHandler.<init>(ApplicationHandler.java:324)[jersey-server-2.17.jar:na]
      1 frame
    5. jersey-container-servlet-core
      ServletContainer.init
      1. org.glassfish.jersey.servlet.WebComponent.<init>(WebComponent.java:338)[jersey-container-servlet-core-2.17.jar:na]
      2. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:171)[jersey-container-servlet-core-2.17.jar:na]
      3. org.glassfish.jersey.servlet.ServletContainer.init(ServletContainer.java:363)[jersey-container-servlet-core-2.17.jar:na]
      3 frames
    6. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:244)[javax.servlet-api-3.1.0.jar:3.1.0]
      1 frame
    7. Jetty
      ContextHandlerCollection.doStart
      1. org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:612)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      2. org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:395)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      3. org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)[jetty-servlet-9.2.10.v20150310.jar:9.2.10.v20150310]
      5. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      6. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
      7. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
      8. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)[jetty-util-9.2.10.v20150310.jar:9.2.10.v20150310]
      9. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      10. org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:163)[jetty-server-9.2.10.v20150310.jar:9.2.10.v20150310]
      10 frames