记录mybatis-plus中的invalid bound statement (not found): xxx问题
找了半天终于找到 mybatis的映射文件中所写的路径和命名不对
我的命名是CustomerManagement
而映射文件中所有写的路径是如下,多有了个Mapper。。。导致找不到真的要细致!细致!细致。
# MyBatis Plus配置
mybatis-plus:
# 搜索指定包别名
typeAliasesPackage: com.ruoyi.**.domain
# 配置mapper的扫描,找到所有的mapper.xml映射文件
mapperLocations: classpath*:mapper/**/*Mapper.xml
# 加载全局的配置文件
configLocation: classpath:mybatis/mybatis-config.xml