-
Notifications
You must be signed in to change notification settings - Fork 38.3k
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
Aspect works fine in native image with 3.0.5 but fails with 3.1.0 #30525
Comments
I can have a look once you provide a repro. |
@sdeleuze Ok, finally: https://github.com/phejl/spring-boot-30525
in |
I can see similar issue while running
|
I can reproduce the issue, but does not look like a regression since I see it with both Spring Boot Also when I add hints like below, the apps runs fine on native:
So I am wondering if that's not just a duplicate of #28711. @phejl Any thoughts? |
@sdeleuze Thanks for checking. Yes I think this happened somewhere between 3.0.5 and 3.0.7. I'm not 100% whether aspect worked but kind of regression is that app won't start anymore. So I'll leave it to your judgment. Is |
That has already been addressed in spring-projects/spring-boot#35564. |
@sbrannen Nice! Thank you. |
It seems aspect over repository does not work. I'll try to provide a repro.
It looks like registering the aspect for reflection fixes the issue.
The text was updated successfully, but these errors were encountered: