验证dao错误
来源:2-7 验证Dao
			慕勒4553688
2020-04-02
No qualifying bean of type ‘com.imooc.o2o.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  ,dao接口都配置了
写回答
	3回答
- 
				
						慕村1368349
2020-04-08
是不是编译的class文件有问题,试试这个,如图,然后在把build点上对号,clean下项目重新编译下

00 - 
				
						慕勒4553688
提问者
2020-04-08
jar包版本不匹配
00 - 
				
						慕慕65597133
2020-04-02
spring在注入的时候没有找到合适的bean,你看看包扫描的对不对,pace写的对不对
032020-04-02 
相似问题
						
