tomcat过滤器异常
Connected to server
[2019-11-25 04:40:58,976] Artifact DUBBO_BG:Web exploded: Artifact is being deployed, please wait...
25-Nov-2019 16:40:59.167 警告 [RMI TCP Connection(3)-127.0.0.1] org.apache.tomcat.util.descriptor.web.WebXml.setVersion 未知版本字符串 [4.0]。将使用默认版本。
25-Nov-2019 16:40:59.295 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal 一个或多个筛选器启动失败。完整的详细信息将在相应的容器日志文件中找到
25-Nov-2019 16:40:59.295 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
25-Nov-2019 16:40:59.294 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.filterStart 启动过滤器异常
java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter过滤器一直异常,
解决:降低web.xml版本为3.0系列目前,tomcat8.5不支持4.0web.xml 。9.0tomcat容器支持4.0web.xml