Invalid bound statement (not found) 错误原因

Posted liumz0323

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Invalid bound statement (not found) 错误原因相关的知识,希望对你有一定的参考价值。

对我来说,错误的原因是因为没有配置:
mybatis.mapperLocations=classpath:mybatis/mapper/*Mapper.xml
mybatis.config-location=classpath:mybatis/mybatis-config.xml

导致主库是可以正常连接数据库
会员分库则报出Invalid bound statement (not found) 错

以上是关于Invalid bound statement (not found) 错误原因的主要内容,如果未能解决你的问题,请参考以下文章

Invalid bound statement not found

Invalid bound statement (not found) 错误原因

报错 Invalid bound statement (not found): com.xxx.mapper.xxx

Invalid bound statement (not found)

Mybatis 异常记录: Invalid bound statement (not found)

mybatis错误:Invalid bound statement (not found)