“Invalid bound statement (not found): com.springboot.cloud.setting.dao.SmNumberMapper.get”
我遇到的原因是pom中没有配置
mapper-locations: setting/*.xml
type-aliases-package: com.springboot.cloud.setting.entity
mybatis-plus “Invalid bound statement (not found): com.springboot.cloud.setting.dao.SmNumberMapper.
本文介绍了一个关于MyBatis配置问题的解决方案。作者遇到了Invalid bound statement (not found): com.springboot.cloud.setting.dao.SmNumberMapper.get的错误,原因是pom.xml中缺少mapper-locations和type-aliases-package配置。通过正确配置这两个参数,可以成功解决MyBatis Mapper找不到的问题。

被折叠的 条评论
为什么被折叠?



