org.apache.catalina.LifecycleException: Failed to start component

前端之家收集整理的这篇文章主要介绍了org.apache.catalina.LifecycleException: Failed to start component前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

 错误详情

12-May-2018 13:59:37.738 严重 [RMI TCP Connection(95)-127.0.0.1Exception invoking method createStandardContext javax.management.RuntimeOperationsException: Exception invoking method manageApp at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:308819801beanfactory.createStandardContext(Mbeanfactory.java:482beanfactory.createStandardContext(Mbeanfactory.java:431434983008198011468300(RMIConnectionImpl.java:7613091401829434983571.run(Transport.java:2001.run(Transport.java:1971965738350(TCPTransport.java:6886871149624748Failed to start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[
/75873073417364349830031 more

由于什么引起的呢?

排查代码,最后发现在新建servlet类的时候,发现

就是这个地方,忘记添加“/”了,所以在发布的时候,出现错误

 

原文链接:https://www.f2er.com/java/191603.html

猜你在找的Java相关文章