【报错处理解决】Invalid bound statement (not found)
!!!!报错
Invalid bound statement (not found): com.ivan.edu.mapper.UserMapper.findUserById
可能情况:
1、tomat 8.5编译运行,edu-dao的target不会打包.xml文件,所以会报这个错。
2、找不到这个方法。也就是mapper基类文件没有定义这个方法名,所以报错。
处理办法:
在dao模块下的pom.xml里添油加醋即可:
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources> <pluginManagement><!-

浙公网安备 33010602011771号