已解决 No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalancer?
    出现这个问题是没有loadbalanc 但是nacos中ribbon会造成loadbalanc包失效
    由于SpringCloud Feign在Hoxton.M2 RELEASED版本之后不再使用Ribbon而是使用spring-cloud-loadbalancer,所以不引入spring-cloud-loadbalancer会报错
    在调用方的pom加入

    1. <dependency>
    2. <groupId>org.springframework.cloud</groupId>
    3. <artifactId>spring-cloud-loadbalancer</artifactId>
    4. <version>2.2.4.RELEASE</version>
    5. </dependency>
    1. <dependency>
    2. <groupId>com.alibaba.cloud</groupId>
    3. <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
    4. <exclusions>
    5. <exclusion>
    6. <groupId> springframework.cloud</groupId>
    7. <artifactId>spring-cloud-starter-netflix-ribbon</artifactId>
    8. </exclusion>
    9. </exclusions>
    10. </dependency>