启动Spring boot注册中心报错:RENEWALS ARE LESSER THAN THE THRESHOLD. THE SELF PRESERVATION MODE IS TURNED OFF
服务提供者和服务消费者配置文件问题:eureka.client.service-url.defaultZone= http://localhost:8080/eureka/问题:LoginService.loginTest: com.netflix.client.ClientException: Load balancer does not have available server fo...
·
服务提供者和服务消费者配置文件问题:
eureka.client.service-url.defaultZone= http://localhost:8080/eureka/
问题:LoginService.loginTest: com.netflix.client.ClientException: Load balancer does not have available server for client: msp
解决方法:原因
要加入
org.springframework.cloud
spring-cloud-starter-hystrix
然后配置属性 feign.hystrix.enabled=true
因为配置文件中spring.application.name="msp"多加了引号了,汗
更多推荐
已为社区贡献1条内容
所有评论(0)