标签:
启动tomcat时出现异常:
org.apache.catalina.LifecycleException: Failed to start component [Connector[AJP/1.3-auto-1]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:458)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:752)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.startup.Catalina.start(Catalina.java:625)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the specified port value of [-1] is invalid
at org.apache.catalina.connector.Connector.startInternal(Connector.java:979)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more
报了异常,但tomcat还是启动起来了,并且项目也可以访问,没发现其他异常,google了一下,说是这个异常可以被忽略,并不影响功能的使用,说是从安全层面避免其它服务或软件关闭tomcat.可参考:https://kb.acronis.com/es/node/54707 ;有时间再研究一下这个异常......
标签:
原文地址:http://www.cnblogs.com/jessezeng/p/5512981.html