Skip to content
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

continue for loop if the bean definition cannot be enhanced #24356

Conversation

chenqimiao
Copy link
Contributor

@chenqimiao chenqimiao commented Jan 14, 2020

As the log says,
Cannot enhance @Configuration bean definition since its singleton instance has been created too early. The typical cause is a non-static @Bean method with a BeanDefinitionRegistryPostProcessor.
So, I think this if block should continue for loop.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 14, 2020
@chenqimiao chenqimiao changed the title continue for loop if the bean cannot be enhanced continue for loop if the bean definition cannot be enhanced Jan 14, 2020
@sbrannen sbrannen added the in: core Issues in core modules (aop, beans, core, context, expression) label Feb 4, 2020
@snicoll
Copy link
Member

snicoll commented Aug 23, 2023

Duplicate of #22992

@snicoll snicoll marked this as a duplicate of #22992 Aug 23, 2023
@snicoll snicoll closed this Aug 23, 2023
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Aug 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) status: duplicate A duplicate of another issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants