Skip to content

Broken compatibility with Vaadin 25.0.x and Spring Boot 4.0.4 #95

@iaklass

Description

@iaklass

Describe the bug

Hi there,

unfortunately, the OrgChart add-on is no longer compatible with Vaadin 25.0.x and Spring Boot 4.0.4. Due to updates to Jackson, certain annotations are no longer found.

Broken:
com.fasterxml.jackson.core:jackson-databind:2.21.1
com.fasterxml.jackson.core:jackson-annotations:2.20
com.fasterxml.jackson.core:jackson-core:2.21.1

The last working version is Spring Boot 4.0.3 with Jackson:
com.fasterxml.jackson.core:jackson-databind:2.20.2
com.fasterxml.jackson.core:jackson-annotations:2.20
com.fasterxml.jackson.core:jackson-core:2.20.2

Expected behavior

No exceptions anymore.

Minimal reproducible example

final OrgChart newOrgChart = new OrgChart(root);

Throws:
2026-03-26T10:45:07.958+01:00 ERROR 1 --- [app] [nio-8000-exec-9] c.v.flow.server.DefaultErrorHandler : Unexpected error: Could not initialize class com.fasterxml.jackson.databind.ObjectMapper
2026-03-26 10:45:07.960 java.lang.NoClassDefFoundError: Could not initialize class com.fasterxml.jackson.databind.ObjectMapper
2026-03-26 10:45:07.960 at com.flowingcode.vaadin.addons.orgchart.OrgChart.convertToJsonObj(OrgChart.java:110) ~[orgchart-addon-5.3.0.jar!/:5.3.0]
2026-03-26 10:45:07.960 at com.flowingcode.vaadin.addons.orgchart.OrgChart.setValue(OrgChart.java:100) ~[orgchart-addon-5.3.0.jar!/:5.3.0]
2026-03-26 10:45:07.960 at com.flowingcode.vaadin.addons.orgchart.OrgChart.(OrgChart.java:80) ~[orgchart-addon-5.3.0.jar!/:5.3.0]

Add-on Version

5.3.0

Vaadin Version

25.0.7

Additional information

Spring Boot Version 4.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Inbox (needs triage)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions