You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@Qualifier fails to resolve Lists containing enumerated types [SPR-7676] #12332
I am getting the following container startup exception:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [spring.BasicEnum] found for dependency [collection of spring.BasicEnum]: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}
I've attached a test case micro project for this.
If @Qualifier is not used, and the list is injected through XML, then everything works as expected.
Activity
spring-projects-issues commentedon Jul 7, 2011
Chris Beams commented
Please see #13164, which aims to address this and a number of other similar issues related to collection autowiring.