Skip to content

Application doesn't start with the last SNAPSHOT spring-clould-loadBalancer  #620

@Ferioney

Description

@Ferioney

spring-cloud-dependencie: 2021.0.0-SNAPSHOT (includes fix Adds config per load balancer client)

I have tried to test feign client with the last load balancer (snapshot version) which includes the possibility to configure load-balance per client.
Feign DefaultFeignLoadBalancerConfiguration class uses @EnableConfigurationProperties({LoadBalancerProperties.class}). But in last spring-cloud-common @ConfigurationProperties annotation was removed from class LoadBalancerProperties.

Application doesn't start with error:

Caused by: java.lang.IllegalStateException: No ConfigurationProperties annotation found on  'org.springframework.cloud.client.loadbalancer.LoadBalancerProperties'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions