java.lang.NoSuchMethodError Quote: Yeah. HttpServletRequest.isAsyncStarted ()Z

When developing jetty 9 embedded system, it starts normally, but when browsing the page, an error is reported as follows:

java.lang.NoSuchMethodError : javax.servlet.http . HttpServletRequest.isAsyncStarted () Z
reason: jetty 9 relies on servlet API version 3. X. if other third-party open source libraries in the project implicitly rely on servlet API version 2. X, this error will be reported.

Read More: