Type interface xxxMapper is not known to the MapperRegistry

出错的可能缘由主要有如下:segmentfault 一、mybatis-config.xml中引入相应xxxMapper.xml时报错mybatis 二、xxxMapper.xml中的namespace写错,namespace应绑定到相应的mapper接口app 三、以上都没问题的话能够看一下编译生成文件中有没有xxxMapper.xml,个人问题就是编译后的classes中没有xxxMapper
相关文章
相关标签/搜索