和 spring 版本有关, 如果是 Autowired, Spring 5的默认行为下会报错 nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type xxx is defined: yyy expected single matching bean but found 2: zzz
和 spring 版本有关, 如果是 Autowired, Spring 5的默认行为下会报错