Parameter 0 of method asyncLoadBalancerInterceptor in org.springframework.cloud.client.loadbalancer.AsyncLoadBalancerAutoConfiguration$LoadBalancerInterceptorConfig required a bean of type 'org.springframework.cloud.client.loadbalancer.LoadBalancerClient' that could not be found.
- Bean method 'loadBalancerClient' not loaded because @ConditionalOnClass did not find required classes 'com.netflix.client.IClient', 'com.netflix.ribbon.Ribbon'
哪位大佬给解决下,还有想问一下spring-cloud-gateway 是不是zuul 的替换,
Fincy 不支持这个zuul
上面那个问题,今天竟然好了,可能是缓存影响吧,不知道怎么回事,
https://blog.csdn.net/xtj332/article/details/80439249
像这种引sdk式的jar包就很容易出现编译或运行时找不到类、找不到方法的问题,一般编译出现的问题原因是jar中嵌套的jar未在私服找见直接就未下载,或是未引入需要单独写maven坐标引下,看你那个提示你查下“com.netflix”的相关坐标单独引到pom里试试;运行时出现的问题原因一般是运行时环境与本地开发编译的环境不同,或是运行时服务器和本地编译的虚拟机版本不同造成的,可以查下运行时环境的所有classpath,看能不能找到相关的jar的class的methond。。