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


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

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



src/main/java

**/*.xml

true