启动项目一直报错:org.apache.catalina.LifecycleException: Protocol handler start failed
程序员文章站
2022-03-24 11:38:12
...
org.apache.catalina.LifecycleException: Protocol handler start failed
at org.apache.catalina.connector.Connector.startInternal(Connector.java:1008) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ~[tomcat-embed-core-9.0.16.jar:9.0.16]
at org.apache.catalina.core.StandardService.addConnector(StandardService.java:226) [tomcat-embed-core-9.0.16.jar:9.0.16]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.addPreviouslyRemovedConnectors(TomcatWebServer.java:259) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.start(TomcatWebServer.java:197) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.startWebServer(ServletWebServerApplicationContext.java:311) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:164) [spring-boot-2.1.3.RELEASE.jar:2.1.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552) [spring-context-5.1.5.RELEASE.jar:5.1.5.RELEASE]
启动web项目启动不起来,端口号被占用,解决方案
1.修改本次程序启动的端口号
2.停止当前被占用的端口号
推荐阅读
-
Tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component...java.util.zip.ZipException: error in opening zip file
-
Tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component...java.util.zip.ZipException: error in opening zip file
-
启动项目一直报错:org.apache.catalina.LifecycleException: Protocol handler start failed
-
springboot启动报错:org.apache.catalina.LifecycleException: Protocol handler start failed
-
SpringBoot项目启动时报错:org.apache.catalina.LifecycleException: Protocol handler start failed
-
org.apache.catalina.LifecycleException: Protocol handler start failed
-
springboot启动报错:Protocol handler start failed
-
idea启动springBoot报错:org.apache.catalina.LifecycleException: Protocol handler start failed
-
spring boot 启动报错Protocol handler start failed