-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot resolve symbol for both RetryExceptionWrapper.class #171
Comments
This just happens when changing the JDK version? Could you provide a sample that reproduces the problem? |
Do I create an example? Because the issue was encountered while working on a huge project. Seems to be disappear when I used |
We are running out builds with JDK 17 and don't see that problem, so a project to reproduce the problem will help figure out what is going on. |
I will try to prepare a minimal example then. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
I included a method from the following :
to demonstrate how I used the spring-boot-start-circuitbreakerresilient4j dependency:
to implement a circuitbreakerresilience4j call in the following manner:
with a call to the method:
with methodB' s link is:
will result in the following exception/error:
The code seems to run for now (But I need to verify the via testing) if replacing the line
Using the following dependencies seem to work
but I want to stay with the spring boot stack. Thanks. |
Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.
Java version: 17+
I tried updating some legacy code to JDK 17 and spring boot 3.0.7. But I noticed that the following error is thrown:
Cannot resolve symbol for both RetryExceptionWrapper.class and CircuitBreakerOpenException . But CircuitBreakerOpenExceptionseems to be available via the
dependency.
Code snippet is shown:
The text was updated successfully, but these errors were encountered: