昨天自己在看视频学习springBoot时候 ,与Mybatis集成时启动报错,错误如下:
springboot 启动报错Description:Field mapper in xxx required a bean of type 'xxx' that could not be found

找了一天最后才发现问题根本,配置文件中数据库连接配置写错了:
springboot 启动报错Description:Field mapper in xxx required a bean of type 'xxx' that could not be found

修改后我的问题完美解决 !

新手初写,大佬请绕道~~

相关文章: