tomcat启动时出现了Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]等错误

tomcat 启动时报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]等错误

解决办法:

是tomcat版本太高的原因,为其配套的servlet-api.jar不匹配或项目工程lib下有低版本的servlet-api.jar,

tomcat7以前的这个包没有getSessionCookieConfig这个方法,7的包有这个方法,

解决方法,删除项目工程lib文件夹的低版本的servlet-api.jar,tomcat的lib文件夹里用默认带的jar包

或者把tomcat换成6的

时间: 2024-11-05 12:10:28

tomcat启动时出现了Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]等错误的相关文章

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

解决方法: 修改tomcat配置文件catalina.properties 1 tomcat.util.scan.DefaultJarScanner.jarsToSkip=\ 值后面加",*" 原文地址:https://www.cnblogs.com/hl15/p/10658333.html

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启动出现: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.ja

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

tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost].

tomcat运行报错Failed to start component [StandardEngine[Catalina].StandardHost[localhost].多半情况是找不到jar包 解决办法: 右键项目-> 属性->添加lib 原文地址:https://www.cnblogs.com/firstdream/p/8401626.html

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

使用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].

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

启动报错信息: Failed to start component [StandardEngine[Catalina].StandardHost[localhost] 因此出现这种错误的原因可能有: 1.tomcat存在缓存 右键点击tomcat-->Clean Tomcat  Work Directory.. --> Clean.. 对tomcat进行清理 2.tomcat自己出现了问题 将tomcat删除,重新添加并配置一下tomcat 3.其他情况... 转载: https://www.

##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