SpringBoot项目启动时报错:org.apache.catalina.LifecycleException: Protocol handler start failed
程序员文章站
2022-03-24 11:38:18
...
错误原因:端口已被占用,启动失败。
解决方案:(windows)
1. 按 win+R,点击运行页面,写入cmd回车,点击命令行页面,并查询指定端口
netstat -aon|findstr "8001"
2. 使用tasklist命令通过后面的pid查看占用端口进程
tasklist|findstr "54556"
3. 用taskkill语句结束该进程,并再次查询。
taskkill /f /t /im javaw.exe
成功!
推荐阅读
-
bug_1_springBoot:Protocol handler start failed
-
启动项目一直报错: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