Dependency Injection does not consider parameter name as default qualifier #38671
Labels
for: external-project
For an external project and not something we can fix
status: invalid
An issue that we don't feel is valid
We recently upgraded
org.springframework.boot:*
from3.1.5
to3.2.0
and observed failures in creation of below bean:Failure Message:
With upgrade to spring boot
3.2.0
the parameter name is no longer considered as default qualifier for dependency injection.While this can be worked around by explicitly defining a qualifier as shown below but this would mean review of all configurations and autowired dependencies where multiple beans of same interface are created. Is this change intentional or we have broken this behavior in
3.2.0
?Work Around:
The text was updated successfully, but these errors were encountered: