qq_可乐_83
2019-03-04 14:57
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'com.example.demo.dao.AreaDaoTest': Unsatisfied dependency expressed through field 'areaDao'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.example.demo.dao.AreaDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
同学好,需要检查一下你的dao层配置或者你的mapper里面是否没指定成是AreaDao的实现类,以及是否加入了@Autowired等注解
SpringBoot+MyBatis搭建迷你小程序
91500 学习 · 621 问题
相似问题