我遇到的是 因为没有引用spring-boot-starter-web 依赖的问题 ,把该依赖引用到 没有正常启动的服务中即可。
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
我遇到的是 因为没有引用spring-boot-starter-web 依赖的问题 ,把该依赖引用到 没有正常启动的服务中即可。
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>