ityouknow / blog-comments

15 stars 0 forks source link

你还在苦苦分析Spring Boot 启动错误堆栈,而不是使用故障分析器吗? | Java North #802

Open ityouknow opened 3 years ago

ityouknow commented 3 years ago

http://www.javanorth.cn/2021/06/04/spring-boot-failure-analyzer/

大家好, 我是指北君。 相信大家在启动 Spring Boot 项目的时候,也遇到过由于各种各样的原因而启动失败的情况吧,显示出一大堆的错误信息,比如端口占用时会打印如下异常: APPLICATION FAILED TO START Description: Embedded servlet container failed to start. Port 8080 was already in use. Action: Identify and stop the process that's listening on port 8080 or configure this application to listen on another port. 相信大家应该很熟悉吧,多少遇到过这种情况吧。