-
Notifications
You must be signed in to change notification settings - Fork 40.9k
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 Boot 3.4 is not compatible with Gson 2.10 #43442
Comments
Thanks for reaching out. Unfortunately, I cannot reproduce this problem. Can you share a minimal sample application that fails like this? You can share it as a repository on GitHub or simply by attaching a zip to this issue. Thanks! |
I found it; it was caused by an IDEA plugin. Updating to the latest version of the plugin has resolved the problem. |
Thanks for letting us know. |
hi, as I am facing the same error message, could you please tell me, which IDEA plugin you had to update? |
If you are using Spring Boot version 3.4 and Gson version 2.10.1, you can try upgrading the Gson version to 2.11.0.I also encountered this problem, but it was successfully resolved after upgrading to a higher version. |
This comment was marked as duplicate.
This comment was marked as duplicate.
I came here as result of a build failure I am facing due to dependency upgrades. After upgrading to Spring Boot 3.4.1, I get the referred-to For reference, this is the pull request showing the build errors.
If required, I can make a new issue to mark this situation. But, given that the exception as identical, I figured out would be fair to drop a comment here. Thanks for any and all help given! |
I got the same error due to using GWT, as it's using an old GSON version (2.6.2). However, GWT is now being patched gwtproject/gwt#10079 which should fix it. |
Thanks for that, @craigmit! |
I had same error after upgrade to Spring boot 3.4.1. solved by upgrade of the dependency com.google.code.gson:gson to version 2.11.0 Kind regards. |
I wonder if we should change our auto-configuration for Gson so that it backs off in the absence of |
We're going to treat this as we treated a similar problem with Liquibase. We'll use our own enum instead of |
See spring-projectsgh-43442 Signed-off-by: Johnny Lim <izeye@naver.com>
Thank you! 3.4.2 no longer needs the new Gson lib. |
pom.xml
start Application
ERROR:
The text was updated successfully, but these errors were encountered: