解决方法有两种:
1、把*Mapper.xml文件放到resource文件夹下管理
2、pom配置一下编译xml文件
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources>
2022-10-08 18:22:38
解决方法有两种:
1、把*Mapper.xml文件放到resource文件夹下管理
2、pom配置一下编译xml文件
<resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources>