Springboot项目中的 org.apache.ibatis.binding.BindingException: Invalid bound statement 的解决办法
原因
错误的意思是:找不到对应的Mapper。
org.apache.ibatis.binding.BindingException: Invalid bound statement
仔仔细细检查:
1、nameSpace 命名空间是否指向dao 全限定名,点击可否跳过去
2、接口方法签名与xml中的id是否相同,复制粘贴
3、是否有reslutMap的错误写成了resultType
全都尝试了仍然没起作用。
后来在一位大神的提示下看了一下编译后的文件。具体目录*\target\classes **
缺少所需的xml文件
茅塞顿开,然后idea重新rebuild下就可以了