记录错误:No qualifying bean of type [com.xxx.xxxxxxService] found for dependency:expected at least 1 bea

No qualifying bean of type [com.xxx.xxxxxxService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

记录错误

1、与mybatis交互时,继承了同一个公用的父级接口,导致spring无法识别到底是需要那一个作为当前应用,导致报错

2、下次不要再犯

猜你喜欢

转载自blog.csdn.net/sinat_28789467/article/details/81167868