Skip to content

Fix Jackson ObjectMapper initialization error#104

Merged
adamw7 merged 1 commit into
mainfrom
claude/fix-jackson-initialization-jBPgg
Jan 19, 2026
Merged

Fix Jackson ObjectMapper initialization error#104
adamw7 merged 1 commit into
mainfrom
claude/fix-jackson-initialization-jBPgg

Conversation

@adamw7
Copy link
Copy Markdown
Owner

@adamw7 adamw7 commented Jan 19, 2026

Replace individual jackson-databind dependency with jackson-bom to ensure all Jackson modules (core, databind, annotations) are aligned at version 2.21.0.

This fixes the NoClassDefFoundError for JsonSerializeAs annotation that occurs when jackson-databind 2.21.0 is used with older jackson-annotations.

Resolves the error in PR #103:
Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonSerializeAs

Replace individual jackson-databind dependency with jackson-bom to ensure
all Jackson modules (core, databind, annotations) are aligned at version 2.21.0.

This fixes the NoClassDefFoundError for JsonSerializeAs annotation that
occurs when jackson-databind 2.21.0 is used with older jackson-annotations.

Resolves the error in PR #103:
Caused by: java.lang.NoClassDefFoundError: com/fasterxml/jackson/annotation/JsonSerializeAs
@adamw7 adamw7 merged commit e494057 into main Jan 19, 2026
2 checks passed
@adamw7 adamw7 deleted the claude/fix-jackson-initialization-jBPgg branch January 22, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants