-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
@ServletComponentScan causes AOT processing to fail with "Code generation is not supported for bean definitions declaring an instance supplier callback" #34563
Comments
Just a side note: I am seeing a similar error with Spring Boot 3.0.4, though this time with
|
I believe that's already been fixed in Spring Integration snapshots through these changes. |
Thank you Andy. I appreciate the reference. |
@wilkinsona is this issue needs fix ? can I pick this up ? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This was referenced Apr 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See spring-projects/spring-framework#29803 for the background.
The problematic
servletComponentRegisteringPostProcessor
bean isn't needed in an AOT-processed context as the servlet components are registered during AOT processing and there's no need for them to be registered again at runtime. We can exclude the post-processor from the AOT processed context.The text was updated successfully, but these errors were encountered: