-
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
Autowiring shortcut fails with NoSuchBeanDefinitionException after removeBeanDefinition call #26517
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
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
Feb 7, 2021
jhoeller
added
in: core
Issues in core modules (aop, beans, core, context, expression)
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged or decided on
labels
Feb 7, 2021
jhoeller
changed the title
After removing bean from Spring context with BeanDefinitionRegistry:removeBeanDefinition method, @Autowired(required = false) spring throws error
Autowiring shortcut fails with NoSuchBeanDefinitionException after removeBeanDefinition call
Feb 7, 2021
spring-projects-issues
added
status: backported
An issue that has been backported to maintenance branches
and removed
for: backport-to-5.2.x
labels
Feb 7, 2021
This was referenced Mar 7, 2021
Merged
This was referenced Mar 15, 2021
Open
lxbzmy
pushed a commit
to lxbzmy/spring-framework
that referenced
this issue
Mar 26, 2022
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: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
service start, then i call
BeanDefinitionRegistry:removeBeanDefinition
method, and the bean is@Autowired(required = false)
for other bean, last i request api interface, throw exception for below:The text was updated successfully, but these errors were encountered: