-
Notifications
You must be signed in to change notification settings - Fork 38.1k
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
spring-context (6.x) incompatibility with spring boot 3.3.3 #33575
Comments
You are not supposed to use previous Spring Framework versions (6.0.x) with recent Spring Boot versions (3.3.x), this case is not supported and binary incompatibilities are expected. In that sense, the second issue you are reporting is irrevelant in this case. Now the first issue you've reported seems to be about a bytecode verification error for a failing class transformation. We didn't get similar reports and I'm not aware of specific changes in this area. I think you should try the following, in order:
Thanks! |
@bclozel FYI, here is the dependency tree. I'm not seeing any issue with this, please have a look when you have time
for the first point, I am using IntilliJ IDEA for development with corretto-17 with mvn 3.9.6 and to my knowledge, I'm not using any Java agent. I will cross check again. |
I'm not seeing anything suspicious so far. Please also check that you can reproduce the same problem when running with |
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. |
@bclozel Thanks for the prompt response. We have identified the issue as one of our dependent modules, which is using older version of spring boot (2.x) is being added as transitive dependency. After upgrading the modules, the issue is resolved. Hence, closing the issue. Thanks for the support. |
Thanks for letting us know. |
Hi Team,
I am trying to upgrade my applications spring boot from 2.x to 3.x and facing weird errors.
If I use spring boot 3.3.3 parent pom and spring-context (6.1.x), I am facing below issue:
and If I downgrade the spring-context to 6.0.x, I am able to fix above issue but facing another issue as below.
As I checked the class TaskSchedulingConfigurations$TaskSchedulerConfiguration, the class org.springframework.scheduling.concurrent.SimpleAsyncTaskScheduler is missing from the package.
Please suggest how to get over it? If it is a bug, please let me know the workaround until it is fixed.
The text was updated successfully, but these errors were encountered: