rg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'xxService': Unsatisfied dependency expressed through field 'baseMapper': No qualifying bean of type 'com.yy.modules.wxcp.log.xxDao' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations:
特殊的,是Dao没找到,Dao虽然有@Mapper。但是
Mapper是需要被扫描到的。所以,一般配的是dao或mapper包下。
解决:
看下是否是包名的问题