-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Spring boot 3.2-RC2 JPA @EnableJpaAuditing problems in native image #3222
Comments
Thanks for reaching out. This is a known problem and the AspectJ team has a ticket for it: eclipse-aspectj/aspectj#227 |
Thanks for taking a look, @mp911de. Did you see the other exception in this comment? Here it is again for ease of reference:
It doesn't appear to be (directly?) related to a missing resource bundle and may warrant further investigation on the Data JPA side of things. |
@wilkinsona yeh this happens even in java 21 when u manually declare for resource org.aspectj.weaver.weaver-messages |
Thanks Andy, I missed the second one. |
The failure is induced after The offending Pointcut is As there is nothing Spring Data specific, I'd ask you @Ricard-Kollcaku to file a ticket at Spring Framework and leave a link to the ticket here. |
We have a working application running on spring boot 3.1.5 using java 21 as a native image and everything works ok
we are trying to upgrade that application to 3.2.0-RC2 to get the benefit of project loom and get prepared for GA release but we see some issue
When we migrate to spring boot 3.2.0-RC2 and upgrade the native build tool to 0.9.28 we get the following error
After some researches the error happens only when we use the annotation
@EnableJpaAuditing
from: #spring-projects/spring-boot#38257
sample project
Stacktrace:
The text was updated successfully, but these errors were encountered: