-
出现这种错误
-
第一:查看启动类是否添加
@SpringBootApplication
注解 - 第二:查看是否添加spring-boot-starter-web依赖
-
第三:查看启动类是否写正确
启动报错:Unable to start ServletWebServerApplicationContext due to missing ServletWebServerFactory bean.
猜你喜欢
转载自blog.csdn.net/qq_60969145/article/details/128135380
今日推荐
周排行