java.lang.NoSuchMethodError

javax.servlet.http.HttpServletResponse.getStatus()I

Samebug tips1

There is a dependency in your app that uses <3.0 version jetty. Remove that lib or exclude jetty from its transitive dependencies.

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

Solutions on the web1639

  • via GitHub by nikhilRP
    , 1 year ago
    javax.servlet.http.HttpServletResponse.getStatus()I
  • javax.servlet.http.HttpServletResponse.getStatus()I
  • javax.servlet.http.HttpServletResponse.getStatus()I
  • Stack trace

    • java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I at org.spark_project.jetty.server.handler.ErrorHandler.handle(ErrorHandler.java:112) at org.spark_project.jetty.server.Response.sendError(Response.java:597) at org.spark_project.jetty.server.HttpChannel.handleException(HttpChannel.java:487) at org.spark_project.jetty.server.HttpConnection$HttpChannelOverHttp.handleException(HttpConnection.java:594) at org.spark_project.jetty.server.HttpChannel.handle(HttpChannel.java:387) at org.spark_project.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.spark_project.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544) at org.spark_project.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.spark_project.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Thread.java:745)

    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, 3 months ago
    Once, 3 months ago
    22 times, 3 months ago
    11 times, 7 months ago