SSM整合中 Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/zjazn/dao/BookMapper.xml
请确保pom.xml的build标签有如下内容提示内容。
<build> <!--不写报错--> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includes> <filtering>false</filtering> </resource> </resources> </build>