搭建SSM项目时出现报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

如果你的项目是maven项目,请你在编译后,到接口所在目录看一看,很有可能是没有生产对应的xml文件,因为maven默认是不编译的,

因此,你需要在你的pom.xml的<build></build>里面,加这么一段:

<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
原文地址:https://www.cnblogs.com/pengxupx/p/7127651.html