Receiver class org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerCl - Cache One

Receiver class org.springframework.cloud.netflix.ribbon.RibbonLoadBalancerCl

在common的pom文件中加入

<dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
            <exclusions>
                <exclusion>
                    <groupId>org.springframework.cloud</groupId>
                    <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
                </exclusion>
            </exclusions>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-loadbalancer</artifactId>
            <version>2.2.2.RELEASE</version>
</dependency>

为您推荐