org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
springboot整合mybatis时遇到这个错误
在springboot启动类上已经加上了MapperScan参数是自己创建的mapper接口的引用
@SpringBootApplication
@MapperScan("")
xml配置文件也没写错
idea 整合注意xml配置文件应该放在resource下的文件夹中(错误1)
且在properties文件中应该配置好xml的路径错误就解决了(错误2)
mybatis.mapper-locations=classpath:mapper/*.xml