ssm开发中的错误:Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
自己在搭建好ssm框架之后进行项目开发,遇到Invalid bound statement (not found),可以理解为找不到mapper映射文件异常,记录一下自己的解决方案。
报错页面
在pom.xml加配置,我的是放在mapper工程里面的pom.xml
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
</build>