tomcat 异常:Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the sp
Posted jessezeng
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tomcat 异常:Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the sp相关的知识,希望对你有一定的参考价值。
启动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 ;有时间再研究一下这个异常......
以上是关于tomcat 异常:Caused by: org.apache.catalina.LifecycleException: The connector cannot start since the sp的主要内容,如果未能解决你的问题,请参考以下文章
异常Caused by: java.lang.ClassNotFoundException: org.springframework.dao.DataIntegrityViolationExcep
异常-Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlExceptio
1.spring异常:Caused by: java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor(示例
Caused by: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/tld
启动Tomcat时候报错 Caused by: org.xml.sax.SAXParseException; lineNumber: X; columnNumber: X 错误
报错org.apache.catalina.LifecycleException caused by java.lang.NoSuchMethodError: javax.servlet.Servle