0
点赞
收藏
分享

微信扫一扫

Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean

慎壹 2022-02-08 阅读 100

springboot项目中,报这个错误,一般两个原因引起的。

1、bom.xml中没有引入starter-web

2、在main类中没有注解,那个类是springbootApplication

 

举报

相关推荐

0 条评论