org.apache.ibatis.builder.IncompleteElementException: Could not find result map net.iqunxing.query.dao.customer.TOcCustomerVerifyDao.VerifyResult
以上报错信息的第一行,
场景:写完了很多服务,想测一下接口,测第一个就报了这个错,问题的测的这个方法和报错信息没什么关系。
检查错误,发现namespace的xml文件中写的resultMap无法与自己写的对应,所以mybatis是在使用时才进行resultMap对应关系的检查的。