错误信息:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
Problem Cause: The mapper.xml copy compile time to run directory (this is the reason why I myself might have encountered a variety of reasons, there are other reasons described in detail below.)
Modifications: pom increase
<resource> <directory>${basedir}/src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource>
other reasons:
1: package name check xml file is located and whether the interface corresponding package name one by one
2: namespace check whether xml file xml file name and the package of correspondence
3: Check whether the function name corresponding to the
4: remove the xml file Chinese comments
5: free to add a space or blank line xml file and save
Reference: https: //www.cnblogs.com/lfm601508022/p/InvalidBoundStatement.html