Tomcat启动出现:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardConte

Posted lonecloud

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Tomcat启动出现:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardConte相关的知识,希望对你有一定的参考价值。

 1 严重: ContainerBase.addChild: start: 
 2 org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SpringMvc]]
 3     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
 4     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
 5     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
 6     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
 7     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
 8     at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
 9     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
10     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
11     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
12     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
13     at java.lang.Thread.run(Thread.java:745)
14 Caused by: java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name HttpMethodPutFilter
15     at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:2960)
16     at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2923)
17     at org.apache.catalina.startup.ContextConfig.configureContext(ContextConfig.java:1275)
18     at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1190)
19     at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:775)
20     at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
21     at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
22     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5087)
23     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
24     ... 10 more
25 四月 09, 2017 11:46:43 上午 org.apache.catalina.startup.HostConfig deployDirectory
26 严重: Error deploying web application directory /Users/lonecloud/apache-tomcat-8.5.11/webapps/SpringMvc
27 java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SpringMvc]]
28     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:756)
29     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
30     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
31     at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1107)
32     at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1841)
33     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
34     at java.util.concurrent.FutureTask.run(FutureTask.java:262)
35     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
36     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
37     at java.lang.Thread.run(Thread.java:745)

出现如上报错信息:

  原因:web.xml中有一些Filter mapping specifies an unknown filter 可以说明有一些过滤器没有找到导致的错误

解决办法:

  寻找xml中的过滤器是不是没有完全匹配上,或者没有被定义

以上是关于Tomcat启动出现:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardConte的主要内容,如果未能解决你的问题,请参考以下文章

Tomcat无法启动:Server Tomcat v8.5 Server at localhost failed to start

Tomcat------启动时报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].

mysql job failed to start-tomcat问题变种

Tomcat启动报错 Failed to start component [StandardServer[8005]]解决

eclipse问题Server Tomcat v9.0 Server at localhost failed to start

maven打包出错: Failed to clean project: Failed to delete