-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[Java] fix restclient with useJackson3 omitting default HttpMessageConverters (#24587) #24640
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
Changes from all commits
954bfc8
c8f06ac
3f80faf
26ab472
d4a288b
f8a8b87
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,7 +99,7 @@ if(hasProperty('target') && target == 'android') { | |
| ext { | ||
| jackson_version = "3.1.5" | ||
| jackson_annotations_version = "2.21" | ||
| spring_web_version = "7.0.5" | ||
| spring_web_version = "7.0.8" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Spring version now diverges within this regenerated sample: build.gradle was bumped to 7.0.8 but the sibling pom.xml still declares 7.0.5, so Maven and Gradle builds of the same sample use different Spring versions. Regenerate both build files from the template (which emits 7.0.8 for useSpringBoot4) to keep the sample in sync. Prompt for AI agents |
||
| jakarta_annotation_version = "3.0.0" | ||
| bean_validation_version = "3.1.1" | ||
| jodatime_version = "2.9.9" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: The sample regeneration for the Spring Boot 4 templates is incomplete, leaving three samples internally inconsistent:
build.gradlenow declaresspring_web_version = "7.0.8"while the matchingpom.xmlin the same directory still pins<spring-web-version>7.0.5. This affects restclient-springBoot4-jackson2, resttemplate-springBoot4-jackson2, and resttemplate-springBoot4-jackson3-jspecify (the other three Spring Boot 4 samples bumped both files consistently). As generated artifacts, these samples should be reproducible from the templates (whose pom.mustache is already 7.0.8), so a Maven-based user of these samples would resolve Spring 7.0.5 while a Gradle user gets 7.0.8 — exactly the kind of sample drift this PR's commit intends to fix. Please regenerate these samples (or update the pom.xml to 7.0.8) so the Maven and Gradle artifacts match.Prompt for AI agents