org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
来源:互联网 发布:vb自动填写网页验证码 编辑:程序博客网 时间:2024/05/22 03:47
报错信息:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
是指参数绑定失败,一般校验一下Dao和xml里的参数是否一致即可。
但是我报这个错却是有点懵逼的。
因为我写完service层接口之后,都会写测试类进行测试的,
测试过程中没有任何错误,数据都能在数据库中正确的增删改查,
但是别人调我这个接口的时候却报了这个错,我debug了一下,发现入口参数都是正确的,
就是莫名其妙的报错。后来我把Dao和xml的参数又重新复制黏贴了一边,再次运行的时候就没问题了。
重点是,我虽然重新复制黏贴,但是svn并没有显示修改痕迹!
还有如果参数名称不一致,在我用测试类进行测试的时候就应该会报错。
另外,代码更新完之后,最好重新编译一边,能有效防止这些莫名其妙的bug发生
(吐槽:这编辑器真的坑啊,不带这么玩人的)
阅读全文
0 0
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- 数据结构实验之栈与队列九:行编辑器
- 第11周项目4-利用遍历思想求解图问题
- 我的第二个Python+Appium脚本之APP添加商品
- Linux reset framework
- 厉害了!穿越体寄语集体出街 超萌超大字体引年轻族驻足流连
- org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)
- 如何连接同事的电脑数据库
- 第四周项目3
- C/C++ 第八周串和数组 (一)稀疏矩阵的三元组表示的实现及应用 项目4—(1)
- MFC 错误:没有与参数列表匹配的 重载函数
- this的四种用法
- “性能怪兽”iMac Pro今日上市!迄今最强大iMac真容揭晓!
- Spring MVC 集成 AOP,自定义注解,在切面获得方法参数,以及自定义注解的参数。
- 百事可乐拉货车原来可以这么酷