可能原因是没有添加 web 依赖,检查pom里面是否有web
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
原文地址:https://www.cnblogs.com/jj81/p/9966010.html
时间: 2024-07-31 11:07:04
可能原因是没有添加 web 依赖,检查pom里面是否有web
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency>
原文地址:https://www.cnblogs.com/jj81/p/9966010.html