With a minimal Spring Boot Application at version 3.0.4 (current stable version) using spring-retry with @EnableRetry
, I see the following warning:
2023-03-06T17:23:58.313-05:00 WARN 97421 --- [ main] o.s.c.annotation.AnnotationTypeMapping : Support for convention-based annotation attribute overrides is deprecated and will be removed in Spring Framework 6.1. Please annotate the following attributes in @org.springframework.retry.annotation.EnableRetry with appropriate @AliasFor declarations: [proxyTargetClass]
To reproduce:
- Create a gradle app using spring intializr
- Add
implementation 'org.springframework.retry:spring-retry'
andimplementation 'org.springframework:spring-aspects'
to build.gradle. - Add
@EnableRetry
toDemoApplication.java
. - Run the application.
Is this a bug, or is my application misconfigured?