springboot+mbatis 报错 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
在springboot中使用mybatis的时候,出现这种情况。对于这种错误,一般在于mapper接口与xml文件无法绑定。从上图可以看出来,在target文件夹下,没有AdminUserMapper.xml文件。一般这种问题是因为maven将源码的资源文件过滤掉了。需要再pom.xml文件中取消掉过滤。
原创
2023-07-12 11:11:06 ·
163 阅读 ·
0 评论