错误详情
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
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/75873073417364349830031 more
由于什么引起的呢?
排查代码,最后发现在新建servlet类的时候,发现
就是这个地方,忘记添加“/”了,所以在发布的时候,出现错误。
原文链接:https://www.f2er.com/java/191603.html