原 解决com.netflix.client.ClientException: Load balancer does not have available server for client
版权声明:本文为博主原创文章,请尊重他人的劳动成果,转载请附上原文出处链接和本声明。
本文链接:https://www.91mszl.com/zhangwuji/article/details/1011
报错信息如下:
com.netflix.client.ClientException: Load balancer does not have available server for client:xxx
解决方法:
在客户端的application.yml文件中添加以下配置即可
ribbon:
eureka:
enabled: true
2019-08-09 10:48:27 阅读(18991)
名师出品,必属精品 https://www.91mszl.com
博主信息