我有以下方法,即@Retryable:
@Retryable(value = HttpClientErrorException.class)
public Integer callToExternalService(DateTime start, DateTime end) throws MyException
Run Code Online (Sandbox Code Playgroud)
我的问题是,每次方法重试时是否可以修改输入参数,因为我需要使用不同的值进行休息调用。对于这种情况,是否有类似的选项@Recover?
升级到 Gradle 7.0 并进行构建后,我遇到了以下失败:
> Task :compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Some problems were found with the configuration of task ':compileJava' (type 'JavaCompile').
- Type 'JavaCompile' property 'options.compilerArgumentProviders.apt$0.name' is missing an input or output annotation.
Reason: A property without annotation isn't considered during up-to-date checking.
Possible solutions:
1. Add an input or output annotation.
2. Mark it as @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#missing_annotation for more details about this problem.
- Type 'JavaCompile' property …Run Code Online (Sandbox Code Playgroud)