spring · spring/NoUniqueBeanDefinitionException
NoUniqueBeanDefinitionException
NoUniqueBeanDefinitionException
Thrown when more than one bean matches an @Autowired injection point and no single candidate is marked @Primary. Resolve by adding @Qualifier to name the intended bean, or annotate one implementation with @Primary.