码迷,mamicode.com
首页 > 其他好文 > 详细

mybatis出现错误

时间:2017-11-01 17:26:53      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:img   tis   graph   name   images   map   reg   gem   inter   

今天我单元测试的时候出现了这个错误:这个Mapper没有注册!!!我找了我的mybatis 的namespace,type 路径都对,为啥没有注册呢,很奇怪似不似~~~

后来我找了我的mybatis的配置文件,在

技术分享

写上我的mapper就好了

: Type interface com.janusgraph.dao.imethod.IDischargeMapper is not known to the MapperRegistry.

mybatis出现错误

标签:img   tis   graph   name   images   map   reg   gem   inter   

原文地址:http://www.cnblogs.com/jiabinjie200/p/7767431.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!