微信扫一扫
springboot项目中,报这个错误,一般两个原因引起的。
1、bom.xml中没有引入starter-web
2、在main类中没有注解,那个类是springbootApplication
相关推荐