java.lang.NoSuchMethodError: org.eclipse.jetty.server.Request.getUri()Lorg/eclipse/jetty/http/HttpURI;] Full Stack: java.lang.NoSuchMethodError: org.eclipse.jetty.server.Request.getUri()Lorg/eclipse/jetty/http/HttpURI;

Stack Overflow | sunsin1985 | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    wiremock compatibility with jetty9

    Stack Overflow | 8 months ago | sunsin1985
    java.lang.NoSuchMethodError: org.eclipse.jetty.server.Request.getUri()Lorg/eclipse/jetty/http/HttpURI;] Full Stack: java.lang.NoSuchMethodError: org.eclipse.jetty.server.Request.getUri()Lorg/eclipse/jetty/http/HttpURI;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.eclipse.jetty.server.Request.getUri()Lorg/eclipse/jetty/http/HttpURI;] Full Stack: java.lang.NoSuchMethodError: org.eclipse.jetty.server.Request.getUri()Lorg/eclipse/jetty/http/HttpURI;

      at com.github.tomakehurst.wiremock.servlet.WireMockHttpServletRequestAdapter.isBrowserProxyRequest()
    2. WireMock
      WireMockHandlerDispatchingServlet.service
      1. com.github.tomakehurst.wiremock.servlet.WireMockHttpServletRequestAdapter.isBrowserProxyRequest(WireMockHttpServletRequestAdapter.java:219)
      2. com.github.tomakehurst.wiremock.verification.LoggedRequest.createFrom(LoggedRequest.java:59)
      3. com.github.tomakehurst.wiremock.http.AdminRequestHandler.handleRequest(AdminRequestHandler.java:40)
      4. com.github.tomakehurst.wiremock.http.AbstractRequestHandler.handle(AbstractRequestHandler.java:41)
      5. com.github.tomakehurst.wiremock.servlet.WireMockHandlerDispatchingServlet.service(WireMockHandlerDispatchingServlet.java:99)
      5 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    4. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:821)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:583)
      3. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1158)
      4. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
      5. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1090)
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      7. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
      8. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
      9. org.eclipse.jetty.server.Server.handle(Server.java:517)
      10. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:308)
      11. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
      12. org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:261)
      13. org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
      14. org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
      15. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
      16. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
      16 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame