码迷,mamicode.com
首页 > 移动开发 > 详细

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): cn.gaiay.business.helper.dao.LiveRegenrationRecordMapper.insert

时间:2018-05-19 12:02:25      阅读:181      评论:0      收藏:0      [点我收藏+]

标签:文件的   属性   一个   原因   空格   statement   nbsp   字段名   col   

  原因分析:

 

  字段名称、报名、类名 对应不上 ,比如colomn和property属性 反了。。

按以下步骤一一执行:

1:检查xml文件所在的package名称是否和interface对应的package名称一一对应

2:检查xml文件的namespace是否和xml文件的package名称一一对应

3:检查函数名称能否对应上

4:去掉xml文件中的中文注释

5:随意在xml文件中加一个空格或者空行然后保存

一般来说到此就可以排除错误了

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): cn.gaiay.business.helper.dao.LiveRegenrationRecordMapper.insert

标签:文件的   属性   一个   原因   空格   statement   nbsp   字段名   col   

原文地址:https://www.cnblogs.com/thinkingandworkinghard/p/9059652.html

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