java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips


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

Solutions on the web

via Apache's JIRA Issue Tracker by Genmao Yu, 8 months ago
via Stack Overflow by Neil
, 1 year ago
java.lang.NoSuchMethodError: javax.servlet.http.HttpServletResponse.getStatus()I
at org.spark_project.jetty.server.handler.ErrorHandler.handle(
at org.spark_project.jetty.server.Response.sendError(
at org.spark_project.jetty.server.HttpChannel.handleException(
at org.spark_project.jetty.server.HttpConnection$HttpChannelOverHttp.handleException(
at org.spark_project.jetty.server.HttpChannel.handle(
at org.spark_project.jetty.server.HttpConnection.onFillable(
at org.spark_project.jetty.util.thread.QueuedThreadPool.runJob(
at org.spark_project.jetty.util.thread.QueuedThreadPool$

Users with the same issue

11 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.