mybatis IncompleteElementException 错误

org.apache.ibatis.builder.IncompleteElementException: Could not find result map net.iqunxing.query.dao.customer.TOcCustomerVerifyDao.VerifyResult

以上报错信息的第一行,

场景:写完了很多服务,想测一下接口,测第一个就报了这个错,问题的测的这个方法和报错信息没什么关系。

检查错误,发现namespace的xml文件中写的resultMap无法与自己写的对应,所以mybatis是在使用时才进行resultMap对应关系的检查的。

猜你喜欢

转载自blog.csdn.net/Plum_wine/article/details/82970534
今日推荐