记录下SpringBoot配置Mybatis时候自己挖的坑 tempura 2022-07-29 40 阅读1分钟 查了很多遍一直报错 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): 特此记录下自己的坑 因为自己配置的目录src/main/resources/mapper 下面还有目录 所以application.yml需要如下配置 mybatis: mapper-locations: classpath:mapper/*/*.xml 因为自己加了层目录所以需要加 /*