Last working version was 1.3.4 which has some vulnerabilities, for this reason updated latest version
<dependency>
<groupId>org.springframework.retry</groupId>
<artifactId>spring-retry</artifactId>
<version>2.0.0</version>
</dependency>
Not possible to use @EnableRetry, @Recover, @Retryable and @Backoff.
@EnableRetry
@SpringBootApplication
public class Application {
@Retryable(maxAttempts = 4, backoff = @Backoff(delay = 5000))
public void dataTransform() {
........
}
}
cannot access org.springframework.retry.annotation.Backoff
cannot access org.springframework.retry.annotation.EnableRetry
cannot access org.springframework.retry.annotation.Recover
cannot access org.springframework.retry.annotation.Retryable
Could you please help me about it?