新手问下这个错误是什么,如何解决
严重:
Servlet.service() for servlet jsp threw exceptionexception
java.lang.ClassCastException: org.apache.catalina.connector.RequestFacade cannot be cast to javax.servlet.http.HttpServletRequestWrapper
com.lyq.wordFilter.doFilter(wordFilter.java:32)
------解决方案--------------------
类型转换失败。
org.apache.catalina.connector.RequestFacade 不能强转为
javax.servlet.http.HttpServletRequestWrapper
错误代码位置:
com.lyq.wordFilter.doFilter(wordFilter.java:32)