今天我单元测试的时候出现了这个错误:这个Mapper没有注册!!!我找了我的mybatis 的namespace,type 路径都对,为啥没有注册呢,很奇怪似不似~~~
后来我找了我的mybatis的配置文件,在
写上我的mapper就好了
: Type interface com.janusgraph.dao.imethod.IDischargeMapper is not known to the MapperRegistry.
今天我单元测试的时候出现了这个错误:这个Mapper没有注册!!!我找了我的mybatis 的namespace,type 路径都对,为啥没有注册呢,很奇怪似不似~~~
后来我找了我的mybatis的配置文件,在
写上我的mapper就好了
: Type interface com.janusgraph.dao.imethod.IDischargeMapper is not known to the MapperRegistry.
转载于:https://www.cnblogs.com/jiabinjie200/p/7767431.html