Testing with Spring Boot 2.7.0-RC1, I noticed that the spring-boot-dependencies is using Spring LDAP version 2.4.0-RC1. This seems to be overriding the version of JAXB declared in spring-boot-dependencies. Spring LDAP uses jakarta.xml.bind:jakarta.xml.bind-api:3.0.1 whereas Spring Boot requires jakarta.xml.bind:jakarta.xml.bind-api:2.3.3.
These different versions of JAXB use completely different java packages, jakarta.xml vs javax.xml which leads to CNF exceptions at runtime.