-
Notifications
You must be signed in to change notification settings - Fork 38.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transactional annotation breaks AOT for native image #32555
Labels
for: external-project
Needs a fix in external project
Comments
nnl-1
changed the title
Transaction annotation breaks AOT for native image
Transactional annotation breaks AOT for native image
Mar 30, 2024
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged or decided on
label
Mar 30, 2024
Thanks for the report and the sample, but please report this against the Spring Security project as |
snicoll
added
for: external-project
Needs a fix in external project
and removed
status: waiting-for-triage
An issue we've not yet triaged or decided on
labels
Apr 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Latest Spring Boot (3.2.4) and Spring (6.1.5) AOT doesn't work for native image.
Config:
If I uncomment Transactional annotation in CheckRolesLdapAuthenticationProvider (see reproducer) I got the following:
Full log: aot-error.log
There are 2 classes generated CheckRolesLdapAuthenticationProvider$$SpringCGLIB$$0 and CheckRolesLdapAuthenticationProvider$$SpringCGLIB$$1 which we could find in both reflection-config.json/predefined-classes-config.json which I suppose is wrong.
There is no error without Transactional. It could be a dup of this one #30939 but it's marked as closed so I'm confused.
Reproducer: https:/nnl-1/SpringBoot3AotTransactionalReproducer
Thank you!
The text was updated successfully, but these errors were encountered: