当前位置:网站首页>org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous err
org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous err
2022-07-27 15:56:00 【扮作大侠】
我在整合SSM中开启tomcat时出现了这个错误
错误:
12:01:40.924 涓ラ噸 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.filterStart 鍚姩杩囨护鍣ㄥ紓甯�
java.lang.ClassNotFoundException: org.springframework.web.filter.CharacterEncodingFilter
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:540)
at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:521)
at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:249)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4533)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5172)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1728)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:456)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:405)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:289)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at com.sun.jmx.remote.security.MBeanServerAccessController.invoke(MBeanServerAccessController.java:468)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:357)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:573)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:834)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:687)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
解决方法:
删除乱码过滤器
就这个
<filter>
<filter-name>characterEncodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>characterEncodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
原因研究中·······
才疏学浅,望大佬指教!–2020年5月4日
后来项目需要乱码处理,添上后不知道为什么又好了,真有意思······ --2020年5月5日
这里应该是在发布时lib文件里面的jar包有问题没导全 --2020年5月7日
边栏推荐
- Salesforce certified sharing and visibility Designer (su20) certification examination summary
- 6月第1周易盾业务风控关注 | 新东方学而思等15家机构被顶格罚款
- 最新大厂高级面试题 必备
- Salesforce File Share and Security
- Behind every piece of information you collect, you can't live without TA
- Mlx90640 infrared thermal imager temperature sensor module development notes (VII)
- How to develop an online Excel spreadsheet system (Part 1)
- Because the employee set the password to "123456", amd stolen 450gb data?
- Activate genuine win7 ultimate system with slmgr command
- Are those who are absent from the written examination shortlisted for the teacher recruitment interview? Henan Xiangfu: the statistics of individual candidates' scores are wrong
猜你喜欢

Notes on standardized management of "ancestral warehouse" of meituan meal

Zhengzhou University database course resource description

卷积神经网络——YOLOV1论文翻译

机器学习之评价指标(二)——分类评价指标

I got the P8 "top-level" distributed architecture manual crazy spread on Alibaba intranet

Convolutional neural network -- Translation of yolov1 thesis

7月第4周易盾业务风控关注 | 最高法对APP强索个人信息进行规制

Establishing SSL connection without server‘s identity verification is not recommended

面试常见问题一二

Are those who are absent from the written examination shortlisted for the teacher recruitment interview? Henan Xiangfu: the statistics of individual candidates' scores are wrong
随机推荐
Behind every piece of information you collect, you can't live without TA
使用分布式框架WCF出现的BUG记录
最新大厂高级面试题 必备
Establishing SSL connection without server‘s identity verification is not recommended
Telecommuting can be easily realized in only three steps
用slmgr命令激活正版Win7旗舰版系统
js工具-cookie简单封装
With the right tools, CI achieves twice the result with half the effort
[Southwest University] information sharing of postgraduate entrance examination and re examination
[introduction to database system (Wang Shan)] Chapter 11 concurrency control
Know things by learning | build a real-time anti plug-in mechanism from 0 to 1 to supplement the offensive and defensive power of mobile games in multiple dimensions
XStream reports an error abstractreflectionconverter$unknownfield exception when parsing XML
多线程导入数据并生成错误文件用redis存储
机器学习之评价指标(一)——回归评价指标
登录页面tableLayout(表格布局)
卷积神经网络——YOLOV1论文翻译
PostgreSQL 14 支持winserver2022吗?
From digitalization to intelligent operation and maintenance: what are the values and challenges?
Mlx90640 infrared thermal imager temperature sensor module development notes (VII)
微信小程序 实现拨打电话