Set Spring Boot's Jackson version to the one Axon Framework 5 needs
ProprietaryAxon Framework 5.4 converts with Jackson 3, which needs jackson-annotations 2.22, and declares Jackson 2.22.3. Spring Boot 3.5's dependency management holds Jackson at 2.21, so an application whose versions Spring Boot manages fails at startup with NoClassDefFoundError: JsonApplyView. This sets jackson-bom.version to 2.22.3 in a Maven build whose parent is Spring Boot 3's spring-boot-starter-parent, and in the gradle.properties of a Gradle build on Spring Boot 3 that applies the io.spring.dependency-management plugin, unless it is already set. A build on Spring Boot 4, which manages Jackson 3 and names the Jackson 3 BOM's version with the same property, is left alone.
io. moderne. axon. AlignJacksonWithAxon5mod run . --recipe= io. moderne. axon. AlignJacksonWithAxon5Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.