There is no reason why the springCloud client cannot register for the service to eureka without spring-boot-starter-web?

https://blog.csdn.net/Linyizu...

when a springCloud client cannot register a service with eureka, many solutions add the following

to the service pom
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>

what is the reason?

Apr.28,2022
Menu