Skip to content

Jackson 2.12.6.1 incompatible with Spring Boot 3.x - Binary compatibility issue in DeltaSharingJsonProvider #25

Open

Description

@diegoripera

Problem

The delta-sharing-java-connector version 0.1.0-SNAPSHOT uses Jackson 2.12.6.1, which is incompatible with Spring Boot 3.x applications (3.3.x and later) that use Jackson 2.13+ (specifically 2.17.x, 2.18.x, 2.19.x).

This causes binary incompatibility errors when instantiating DeltaSharingJsonProvider at line 34:

DeltaSharingProfileAdaptor profileAdaptor =
    mapper.readValue(conf, DeltaSharingProfileAdaptor.class);

Error Details

  • Affected Component: DeltaSharingJsonProvider (line 34)
  • Root Cause: Binary incompatibility between Jackson 2.12.x and Jackson 2.17+
  • Impact: Cannot use the connector in Spring Boot 3.3+ applications

Environment

  • Spring Boot: 3.3.6
  • Jackson (in Spring Boot): 2.17.3
  • delta-sharing-java-connector: 0.1.0-SNAPSHOT (Jackson 2.12.6.1)
  • Java: 17

Solution

Update Jackson dependency from 2.12.6.1 to 2.17.3 (or latest 2.17.x) for compatibility with modern Spring Boot 3.x applications.

Activity

  1. diegoripera commented on Oct 23, 2025

    @diegoripera
    Author

    Changes Required

    In [pom.xml], line 46:

    <dependency>
        <groupId>com.fasterxml.jackson.core</groupId>
        <artifactId>jackson-databind</artifactId>
        <version>2.17.3</version>  <!-- Updated from 2.12.6.1 -->
        <scope>provided</scope>
    </dependency>

    Testing

    ✅ Compiled successfully with Jackson 2.17.3
    ✅ All existing Jackson usage (basic POJO deserialization) remains compatible
    ✅ No code changes required in [DeltaSharingJsonProvider] or [DeltaSharingProfileAdaptor]
    ✅ Works with Spring Boot 3.3.6 applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions