Tomcat报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext

Posted 盛夏光年2017

tags:

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

一般是web.xml配置错误,检查servlet-mapping是否一致。

项目3.0以上的不用配置web.xml

删除多余的配置。

最好是每个Servlet头上设置:

@WebServlet(urlPatterns = { "/register" })    

 register自己取名

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

Tomcat下整合SpringCXF报错 Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]]

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

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

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

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

Tomcat报错:Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext