Check the file name and save the method name and so on all have no problem, check the package folder of the target folder is there a mapper. The XML file, if not, explain packaging failure, need to be modified pom. The XML file, add the following code can be repackaged:
& lt; Resources>The ${basedir}/SRC/main/java /* * *. Xml