您的位置: 首页 > 文章 > spring boot整合mybatis报配置错误 spring boot整合mybatis报配置错误 分类: 文章 • 2023-11-17 14:54:58 Consider defining a bean of type ‘com.XXX.dao.mapper.UserMapper’ in your configuration. 在appliction类上加一个扫描注解 -