Common classes used in different Spring Cloud implementations
Apache License 2.0
701
stars
697
forks
source link
Warning log at startup : AnnotationBeanNameGenerator - Support for convention-based stereotype names is deprecated and will be removed in a future version of the framework #1347
At startup, we have this log :
[WARN] 10:07:19 [ANON][] o.s.context.annotation.AnnotationBeanNameGenerator - Support for convention-based stereotype names is deprecated and will be removed in a future version of the framework. Please annotate the 'value' attribute in @org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient with @AliasFor(annotation=Component.class) to declare an explicit alias for @Component's 'value' attribute.
At startup, we have this log : [WARN] 10:07:19 [ANON][] o.s.context.annotation.AnnotationBeanNameGenerator - Support for convention-based stereotype names is deprecated and will be removed in a future version of the framework. Please annotate the 'value' attribute in @org.springframework.cloud.loadbalancer.annotation.LoadBalancerClient with @AliasFor(annotation=Component.class) to declare an explicit alias for @Component's 'value' attribute.
when using @LoadBalancerClient annotation.
This warning has been added from Spring Framework 6.1.5 : https://github.com/spring-projects/spring-framework/commit/bfd918d16c4042c2dbfcecaea4c5b063b11d63a5