Springcloud has problems using ribbon

CSDN Q & A 2022-06-24 06:56:43 阅读数:1,004


Use springboot2.6.3 after ,spring-cloud-starter-netflix-eureka-client Integrated with ribbon, Then there is no need to import ribbon Rely on the , Load balancing polling can succeed , But without ribbon Dependency cannot be imported IRule Class package , You can't customize load balancing randomly , added ribbon Dependency and error reporting No instances available for SERVICE-PROVIDER, What to do , Ask for advice .

copyright:author[CSDN Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/175/202202150002035499.html