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.
Reprinted: https://www.cnblogs.com/yjmyzz/p/5090990.html
Read More:
- [spring] start error: nosuchmethoderror: javax.servlet.http . HttpServletResponse.getStatus () I
- java.lang.AbstractMethodError:com.mysql.jdbc.Connection.isValid(I)Z
- Meven report error java.lang.NoSuchMethodError : com.google.common . base.Preconditions.checkArgument
- java.lang.NoSuchMethodError: org.json.JSONObject.put(Java/lang/String; Java/util/Collection;) “209151;”
- Error 500: javax.servlet.ServletException : srve0207e: Solutions
- Apache Groovy——java.lang.NoSuchMethodError: x.x.x: method <init>()V not found
- Unable to access javax.servlet.servletexception [How to Solve]
- Error in idea compilation: java.lang.OutOfMemoryError Java heap space and java.lang.StackOverflowError
- When WebSphere deploys a project, an error is reported: error 500: javax.servlet.ServletException : SRVE0207E: Uncaught initialization
- Caused by: java.lang.ClassNotFoundException: com.alibaba.nacos.api.naming.NamingMaintainService
- java.lang.AbstractMethodError: Receiver class com.alibaba.cloud.sentinel.feign.SentinelContractHolde
- java.lang.Throwable: Substituted for the exception com.bea.xml.SchemaTypeLoaderException which lack
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- Method threw ‘java.lang.NullPointerException‘ exception. Cannot evaluate com.sun.proxy.xxx
- Spring boot project running error: Servlet.service () for servlet [dispatcherServlet] threw exception
- [Solved] SpringMVC Run Error: SEVERE-Servlet.service() for servlet jsp threw exception
- java.lang.ClassNotFoundException : com.mysql.jdbc . driver project cannot connect to database, exception, lack of MySQL driver
- Exception in thread “main“ java.lang.ClassCastException: com.sun.proxy.$Proxy8 cannot be cast to XXX
- maven_ Unable to create servlet file under Java Web project
- Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request p