问答详情
源自:3-6 dao层开发

测试的时候出现了问题 有么有哪位大神帮忙解决下 感激不尽

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.imooc.demo.dao.AreaDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)

提问者:weixin_慕函数6434014 2019-02-16 13:59

个回答

  • 翔仔
    2019-02-17 00:22:13

    同学好,说的是你的dao缺乏实现类,需要通过mapper去指定