Issue
:: Compiled JAR of Spring Context library still contains javax imports even though the source code has been migrated to Jakarta. Please find the difference below between the Source Code vs Compiled JAR.
Source Code
::
https://github.com/spring-projects/spring-framework/blob/main/spring-context/src/main/java/org/springframework/validation/beanvalidation/LocalValidatorFactoryBean.java
Compiled JAR
::
downloaded from https://mvnrepository.com/artifact/org.springframework/spring-context/5.3.22
Comment From: bclozel
The main branch has indeed moved to Jakarta but we haven't released a GA version for it on Maven Central, so we've only published 6.0.0-SNAPSHOT and Milestones on our own repo.spring.io. You can test that with a new project created on https://start.spring.io using Spring Boot 3.0 versions.