我在整合ssm的时候mybatsi就是无法扫描到resources下的配置文件:
说明xml文件没有被maven打包到target下面.在pom.xml的标签中加入:
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>mapping/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>