org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):com.xxx....dao.find
原因: springboot整合mybatis, 编译时, 此节点mybatis的mapper.xml文件都会被漏掉, 即只会生成mapper对应的class文件, 而不会生成xml文件
解决:maven的pom.xml文件配置
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources> </build>