对我来说,错误的原因是因为没有配置:
mybatis.mapperLocations=classpath:mybatis/mapper/*Mapper.xml
mybatis.config-location=classpath:mybatis/mybatis-config.xml
导致主库是可以正常连接数据库
会员分库则报出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) 错