springboot整和mybatis出现的错误


Description:
Field findTeacherDao in com.zy.service.FindTeacherService required a bean of type 'com.zy.dao.FindTeacherDao' that could not be found.
Action:

Consider defining a bean of type 'com.zy.dao.FindTeacherDao' in your configuration.

出现了这个错误,我百度了一下,没看到什么解决·方案

先看一下我的maven依赖

springboot整和mybatis出现的错误

最后发现是我的依赖加错了

springboot整和mybatis出现的错误

修改一个mybatis的依赖就好了