Eureka Server启动之后,client启动的时候报错“Unregistering application CLIENT with eureka with status DOWN”。
检查配置文件,发现并无问题:
eureka:
client:
service-url:
defaultZone: http://localhost:8761/eureka/
spring:
application:
name: client
解决方法:
引入web模块,如下:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
本文解决了一个关于EurekaServer启动后,client在启动时遇到的“UnregisteringapplicationCLIENTwitheurekawithstatusDOWN”错误。通过检查配置文件并确认无误后,最终解决方案是引入web模块,具体为在pom.xml中加入spring-boot-starter-web依赖。
6592

被折叠的 条评论
为什么被折叠?



