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

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

时间:2019-12-18 17:40:38      阅读:93      评论:0      收藏:0      [点我收藏+]

标签:known   session   https   mapper   apt   mapped   more   com   test   

 

 

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): cn.com.bmsoft.mapper.BmSysCrmCustomerMapper.selectByExample
at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:178)
at org.apache.ibatis.binding.MapperMethod.<init>(MapperMethod.java:38)
at org.apache.ibatis.binding.MapperProxy.cachedMapperMethod(MapperProxy.java:49)
at org.apache.ibatis.binding.MapperProxy.invoke(MapperProxy.java:42)
at com.sun.proxy.$Proxy26.selectByExample(Unknown Source)
at cn.com.bmsoft.services.SysCrmCustomerService.selectCrmCustomer(SysCrmCustomerService.java:52)
at cn.com.bmsoft.services.HiveAnalysisService.updateStatus(HiveAnalysisService.java:132)
at cn.com.bmsoft.services.HiveAnalysisService.executeHiveAnalysis(HiveAnalysisService.java:94)
at cn.com.bmsoft.services.SolrQueryService$1.run(SolrQueryService.java:92)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for cn.com.bmsoft.mapper.BmSysCrmCustomerMapper.selectByExample
at org.apache.ibatis.session.Configuration$StrictMap.get(Configuration.java:775)
at org.apache.ibatis.session.Configuration.getMappedStatement(Configuration.java:615)
at org.apache.ibatis.session.Configuration.getMappedStatement(Configuration.java:608)
at org.apache.ibatis.binding.MapperMethod$SqlCommand.<init>(MapperMethod.java:176)
... 13 more

参考:https://blog.csdn.net/weixin_36448423/article/details/80635955

org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):

标签:known   session   https   mapper   apt   mapped   more   com   test   

原文地址:https://www.cnblogs.com/mryangbo/p/12061026.html

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