转载自: koal的博客
http://www.cnblogs.com/koal/p/5232388.html
<!--
IDEA需要添加一下内容,否则无法找到mapper
-->
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/web/dal/*/mapper/*Mapper.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>
如果在mybatis的xml配置无误情况下,还出现Invalid bound statement (not found) ,那么就在当前模块的pom.xml中添加此段代码。