. spring boot项目
@Autowired - No qualifying bean of type found for dependency
1 . 主要就是检查是否在对应的类上添加了注解如:@Controller @Service @Reporsitry @Component
2 . 启动类所在的位置是否在其他被扫描类的包的前面
以下为根据具体选用情况而定, 多用优先级的顺序问题
1 .是否使用在具体mapper上有到 @Mapper
2 . 是否使用在application文件中
3 .是否使用在启动类上用到了@MapperScan(value="com.ayh.order.mappers")