springboot聚合项目中提示找不到mapper

img

项目目录如上

img

img

img

弄了一个下午也没弄出来,
也尝试了很多网上的方法,都没成功

找不到selectJudge对应的映射方法,检查一下大小写是否准确。

img
找不到这个方法,截图看看xml 和 你的 那个接口的方法

img

img

img

img

img

你好,是所有的mapper都查询不到嘛?是不是指定的查询的mapper规则?

https://blog.csdn.net/baidu_41885330/article/details/82110686

聚合项目可能你有多个classpath 需要在配置文件的中修改 将classpath修改为classpath*
让spring从所有的classpath下寻找xml配置文件

mybatis:
  mapper-locations:classpath*:/mapping/*.xml