com.netflix.client.ClientException: Load balancer does not have available server for clien 报错

解决办法:

1、将服务注册进注册中心

 2、

将yml文件的[fetch-registry]值改为true

完成:

        解决之后运行可以找到相关服务

你可能感兴趣的:(spring,spring,cloud,eureka)