关于Springboot整合mybatis启动的问题

由于是刚pull下来的项目整体也不熟悉,然后项目无法正常启动,爆出的异常为:

Invalid bound statement (not found)

这是由于创建的新模块mapper与扫描mapper的配置不在同一个目录下: 
创建的新模块mapper路径:com.xxx.new66.dao.channel 
配置的扫描mapper路径:com.xxx.new66.dao.mapper 
由于这个原因创建的mapper一直扫描不到,导致爆出异常

原文地址:https://www.cnblogs.com/lilinzhiyu/p/7921917.html