javax.servlet.ServletException

org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: javax.ws.rs.ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response;

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web884

  • via JBoss Issue Tracker by Aaron Whiteside, 1 year ago
    org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: javax.ws.rs.ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response;
  • via JBoss Issue Tracker by Aaron Whiteside, 10 months ago
    org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: javax.ws.rs.ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response;
  • org.glassfish.jersey.server.ContainerException: java.lang.LinkageError: loader constraint violation: loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) previously initiated loading for a different type with name "javax/ws/rs/container/ContainerRequestContext"
  • Stack trace

    • javax.servlet.ServletException: org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: javax.ws.rs.ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response; at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:321)[jersey-container-servlet-core-2.0-rc1.jar:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:372)[jersey-container-servlet-core-2.0-rc1.jar:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:335)[jersey-container-servlet-core-2.0-rc1.jar:na] at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:218)[jersey-container-servlet-core-2.0-rc1.jar:na] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:681)[jetty-servlet-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:449)[jetty-servlet-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1084)[jetty-server-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:376)[jetty-servlet-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1018)[jetty-server-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136)[jetty-server-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.server.Server.handle(Server.java:451)[jetty-server-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.server.HttpChannel.run(HttpChannel.java:252)[jetty-server-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:266)[jetty-server-9.0.2.v20130417.jar:9.0.2.v20130417] at org.eclipse.jetty.io.AbstractConnection$ReadCallback.run(AbstractConnection.java:240)[jetty-io-9.0.2.v20130417.jar:9.0.2.v20130417] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[na:1.7.0_13] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[na:1.7.0_13] at java.lang.Thread.run(Thread.java:722)[na:1.7.0_13] Caused by: org.glassfish.jersey.server.ContainerException: java.lang.NoSuchMethodError: javax.ws.rs.ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response; at org.glassfish.jersey.servlet.internal.ResponseWriter.rethrow(ResponseWriter.java:219)[jersey-container-servlet-core-2.0-rc1.jar:na] at org.glassfish.jersey.servlet.internal.ResponseWriter.failure(ResponseWriter.java:201)[jersey-container-servlet-core-2.0-rc1.jar:na] at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:343)[jersey-server-2.0-rc1.jar:na] at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:223)[jersey-server-2.0-rc1.jar:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:231)[jersey-common-2.0-rc1.jar:na] at org.glassfish.jersey.internal.Errors$1.call(Errors.java:227)[jersey-common-2.0-rc1.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:275)[jersey-common-2.0-rc1.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:257)[jersey-common-2.0-rc1.jar:na] at org.glassfish.jersey.internal.Errors.process(Errors.java:227)[jersey-common-2.0-rc1.jar:na] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.0-rc1.jar:na] at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:191)[jersey-server-2.0-rc1.jar:na] at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:819)[jersey-server-2.0-rc1.jar:na] at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:311)[jersey-container-servlet-core-2.0-rc1.jar:na] ... 17 more Caused by: java.lang.NoSuchMethodError: javax.ws.rs.ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;)Ljavax/ws/rs/core/Response; at javax.ws.rs.ClientErrorException.<init>(ClientErrorException.java:64)[javax.ws.rs-api-2.0-rc3.jar:na] at javax.ws.rs.NotFoundException.<init>(NotFoundException.java:60)[javax.ws.rs-api-2.0-rc3.jar:na] at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:213)[jersey-server-2.0-rc1.jar:na] ... 26 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 8 months ago
    14 more bugmates