SpringBoot 启动出现如下情景,是因为项目中未引用spring-boot-starter-web导致
只需在pom文件中引用如下架包即可
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
SpringBoot 启动出现如下情景,是因为项目中未引用spring-boot-starter-web导致
只需在pom文件中引用如下架包即可
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
相关文章: