In org.springframework.boot:spring-boot-jackson2:4.0.0-RC1, the package of the Jackson2AutoConfiguration in the META-INF/spring/org.springframework.boot.test.autoconfigure.json.AutoConfigureJson.imports is wrong. It's
org.springframework.boot.jackson.autoconfigure.Jackson2AutoConfiguration instead of
org.springframework.boot.jackson2.autoconfigure.Jackson2AutoConfiguration. This causes runtime failures when using spring-boot-jackson2.