欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

现有web系统替换成Spring Boot2框架 之20 启动报错处理 spring boot启动报错@SpringBootApplicationUnable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean

程序员文章站 2022-06-20 16:18:36
...

启动报错:Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.

处理方式在App.java启动类上添加注解@SpringBootApplication