Enhancement - Bean name duplication #23653
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
#enhancement
A case:
In this case, I'll get
NoSuchBeanDefinitionException
on autowiring AnotherOneIt is confusing because of the root of exception in bean names duplication on anotherOne overrides previous bean definition
I think It will be convenient to get a specific exception or warning.
If there is already some mechanism please let me know and I'll request close the issue
Of course, it is about naming, and it should not be named as in the example above. But my point in case of carelessness and framework feedback
The text was updated successfully, but these errors were encountered: