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

Posted 亲爱的村姑

tags:

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

SEVERE: The required Server component failed to start so Tomcat is unable to start. org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]

之前在Eclipse上部署了Tomcat服务器,今天在MyEclipse上部署,结果Tomcat启动失败,报错。在网上搜了半天,有的说是因为端口被占用,有的说因为Tomcat的JDK版本不对。其实都不是。原因是Tomcat的server.xml配置文件最后多出来的这几行,估计是以前在Eclipse上跑的项目自动生成的。把它们删了之后Tomcat就正常运行了。

 

 <Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">

<Valve className="org.apache.catalina.authenticator.SingleSignOn" />

<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h %l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log." suffix=".txt"/> 

<Context docBase="MyProject" path="/MyProject" reloadable="true" source="org.eclipse.jst.jee.server:MyProject"/></Host>

以上是关于Tomcat启动报错 Failed to start component [StandardServer[8005]]解决的主要内容,如果未能解决你的问题,请参考以下文章

Tomcat启动报错Server Tomcat v8.5 Server at localhost failed to start

eclipse 的 tomcat 启动报错(Server Tomcat v7.0 Server at localhost failed to start.)

关于Tomcat启动报错:One or more listeners failed to start

maven项目使用tomcat启动报错:Server Tomcat v8.5 Server at localhost failed to start

tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalin

Tomcat启动报错org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with Pro