Cannot process AOT when spring-orm is on the classpath without JPA #32155
Labels
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
If I create a basic Spring Boot project using https://start.spring.io/#!type=maven-project&language=java&platformVersion=3.2.2&packaging=jar&jvmVersion=17&groupId=com.example&artifactId=demo&name=demo&description=Demo%20project%20for%20Spring%20Boot&packageName=com.example.demo&dependencies=native and I add the
spring-orm
dependencythen when I run
./mvnw spring-boot:process-aot
I am going to get:Is it possible to move the
PersistenceManagedTypesBeanRegistrationAotProcessor#CALLBACK_TYPES
in thePersistenceManagedTypesBeanRegistrationAotProcessor.JpaManagedTypesBeanRegistrationCodeFragments
. Those are anyways only used in theJpaManagedTypesBeanRegistrationCodeFragments
and I believe if they are moved the exception will be gone.The text was updated successfully, but these errors were encountered: