Skip to content

Fix Jackson auto-configuration classpath guard - #1408

Open
ikjeong wants to merge 1 commit into
spring-cloud:mainfrom
ikjeong:fix/issue-1407-jackson-classpath-guard
Open

Fix Jackson auto-configuration classpath guard#1408
ikjeong wants to merge 1 commit into
spring-cloud:mainfrom
ikjeong:fix/issue-1407-jackson-classpath-guard

Conversation

@ikjeong

@ikjeong ikjeong commented Aug 30, 2026

Copy link
Copy Markdown

Fixes gh-1407

This change replaces the accidentally resolved java.lang.Module with Jackson 3's JacksonModule in the Feign Jackson classpath condition. This prevents the Page and Sort Jackson modules from being configured when Jackson databind is absent.

It adds tests covering three classpath scenarios: all required classes are present, Jackson databind is absent, and Spring Data is absent.

Use JacksonModule instead of java.lang.Module so Feign Jackson
auto-configuration is skipped when Jackson databind is absent.

Fixes spring-cloudgh-1407

Signed-off-by: ikjeong <jipark7937@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feign Jackson auto-configuration fails without Jackson 3 databind

2 participants