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
@Lazy not working in Native mode #30985
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Milestone
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged or decided on
label
Aug 2, 2023
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
snicoll
added
the
status: waiting-for-feedback
We need additional information before we can continue
label
Aug 2, 2023
This comment was marked as resolved.
This comment was marked as resolved.
spring-projects-issues
added
status: feedback-provided
Feedback has been provided
and removed
status: waiting-for-feedback
We need additional information before we can continue
labels
Aug 2, 2023
As a workaround for the second exception:
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
snicoll
added
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged or decided on
status: feedback-provided
Feedback has been provided
labels
Dec 21, 2023
jhoeller
added
the
in: core
Issues in core modules (aop, beans, core, context, expression)
label
Dec 23, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
theme: aot
An issue related to Ahead-of-time processing
type: bug
A general bug
Given the following sample: https://github.com/Eng-Fouad/spring-native-lazy-bug
I got an exception on running the native image:
When removing
@Aspect
, I got this exception:Removing
@Lazy
in both cases, resolves the problem for me and the native image works normally.The text was updated successfully, but these errors were encountered: