我遇到的错误是在服务消费者的配置文件中配置了不检索
将eureka.client.fetch-registry=false删去就好

更多推荐

No instances available for service-provider] with root cause java