Bug
孟游
这个作者很懒,什么都没留下…
展开
-
Springboot整合Mybatis报错org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
Springboot整合Mybatis的时候报这个错,绑定失效,说明没找到mapper.xml,再后来在pom.xml配置一下资源路径解决问题org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.he.mapper.UserMapper.findByName at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(原创 2020-07-28 23:12:27 · 444 阅读 · 0 评论 -
Mybatis报错Type interface com.myshop.mapper.GoodsMapper is not known to the MapperRegistry.
测试的时候碰到这个问题,在此记录一下这个问题意思就是在注册的mapper里面找不到这个接口对应的mapper.xml文件,绑定失败,所以接口没问题,有问题的是对应的mapper.xml文件。org.apache.ibatis.binding.BindingException: Type interface com.myshop.mapper.GoodsMapper is not known to the MapperRegistry. at org.apache.ibatis.binding.Mapp原创 2020-07-23 01:08:34 · 665 阅读 · 0 评论