在Spring Boot项目整合Mybatis实现增删改查的过程中测试类出现Could not autowire. No beans of 'RoleMapper' type found.如下图
收起
在mapper上加个@Repository看看
报告相同问题?