启动SpringBoot报错:failed to start bean ‘webserverstartstop‘
[2024-01-06 19:31:20] [WARN ] [main] [AbstractApplicationContext.java:592] → [Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Failed to start bean 'webServerStartStop']
原因:
错误的原因很明显,8080端口被占用
方案:
Further Reading :Linux面试突击最常用的命令 ☞(Windows )查看端口占用并关闭进程
疑问:
为啥别人回报错 port 8080 is already in use XXXX
,而我的没有呢?
参考
启动SpringBoot报错:failed to start bean ‘webserverstartstop‘; nested exception is org.springframework.