Spring自动转配的歧义

发生的场景 类结构图 :     当一个方法接收接口作为参数,而其中,这个接口有多个实现,自动注入报错 @Autowired public void comeRoom(Human human){    this.human = human; } @Component public class Eisteddfod implements Human { ... } @Component public
相关文章
相关标签/搜索