访问页面报如下错(注意第一行后面的 invalid bound statement (not found))
这时候再mapper的pom.xml文件要加如下。 否则该节点mybatis的mapper.xml会被漏掉
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> </resources> </build>
----------------------------------------------打赏码--------------------------------