org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xubo.mapper.UsersMapper.getAll

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xubo.mapper.UsersMapper.getAll

学习mybatis基础框架报错,

原因是maybatis找不到mapper.xml文件

编译后的文件夹内是没有的

image-20220821142231196

问题原因不只这一个,我的问题是在pom.xml文件中 添加资源绑定位置,也就是指定资源文件所在位置 时这个路径写错了,我写成了.的形式,应该是斜杠才可以.

image-20220821142231196

posted @ 2022-08-21 14:31  哩个啷个波  阅读(27)  评论(0)    收藏  举报