id ‘org.springframework.boot’ version ‘2.2.10.RELEASE’ id ‘io.spring.dependency-management’ version ‘1.0.10.RELEASE’ sourceCompatibility = ’11’ set(‘springCloudVersion’, “Hoxton.SR8”)
问题
- WARN ockingLoadBalancerClientRibbonWarnLogger : You already have RibbonLoadBalancerClient on your classpath. It will be used by default. As Spring Cloud Ribbon is in maintenance mode. We recommend switching to BlockingLoadBalancerClient instead. In order to use it, set the value of
spring.cloud.loadbalancer.ribbon.enabled
tofalse
or remove spring-cloud-starter-netflix-ribbon from your project.
解决:
implementation group: 'com.github.ben-manes.caffeine', name: 'caffeine'
spring.cloud.loadbalancer.ribbon.enabled=false