No qualifying bean of type is defined: expected single matching bean but found 2
最近在Spring的注解中,尝试获取一个Bean出现了如题所示的错误。
NoUniqueBeanDefinitionException: No qualifying bean of type is defined: expected single matching bean but found 2:sysRoleManage, sysRoleManageImpl
我有2个类,1个是接口
原创
2017-04-06 16:08:52 ·
7303 阅读 ·
4 评论