測試的時(shí)候出現(xiàn)了問題 有么有哪位大神幫忙解決下 感激不盡
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)
2019-02-17
同學(xué)好,說的是你的dao缺乏實(shí)現(xiàn)類,需要通過mapper去指定