Tomcat启动出现:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SpringMvc]]解决办法

 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中的过滤器是不是没有完全匹配上,或者没有被定义

时间: 2024-10-09 20:38:22

Tomcat启动出现:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SpringMvc]]解决办法的相关文章

tomcat启动错误——Failed to start component [StandardEngine[Catalina].StandardHost(暂未解决)

严重: A child container failed during startjava.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/hello-ex01]] at java.util.concurren

tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] 原因: tomcat版本小于jdk版本.当前jdk1.8版本.tomcat1.7版本. 将tomcat改为8.5版本后解决. 原文地址:https://www.cnblogs.com/zltao/p/11262876.html

tomcat应用org.apache.catalina.LifecycleException: Failed to stop component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]异常的根本原因

早上,有个应用又挂了,客户端打开时报404,看进程是还在的.倒回第一次异常的地方,可见catalina.out中有如下信息: 08:46:56.646 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] DEBUG o.s.b.f.s.DisposableBeanAdapter - Invoking destroy() on bean with name 'org.springframework.scheduling.config.C

java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

1.问题描述: 对于创建的springboot项目,通过启动类启动,访问没问题,但打成war部署到tomcat上启动报错,如下: 严重: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.c

##org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]异常处理

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]异常处理 今天用maven创建了一个工程,结果启动tomcat之后,报错了: 严重: ContainerBase.addChild: start:  org.apache.catalina.LifecycleException: F

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/xiaozao_web]]

二月 20, 2017 11:30:28 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:xiaozao_web' did not find a matching property.二月 20, 2

Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ssm]]

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/ssm]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) at org.apache.catalina.core.ContainerBa

使用SpringMVC出现Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/SpringMVCFileTest]]

下面贴出我在使用SpringMVC时,运行tomcat报出的错误,原因是web.xml配置出现问题. 严重: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]

org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:162) at org.apache.catalina.core.ContainerBase.a