Invalid bound statement (not found): com.qf.shop_order.service.OrderService.OrderPageQuery] with root cause
时间: 2024-02-26 15:20:19 浏览: 61
使用mybatis-plus报错Invalid bound statement (not found)错误
回答: 这个错误是由于无效的绑定语句导致的。根据引用\[1\]和引用\[2\]的报错信息,可以看出是在调用com.qf.shop_order.service.OrderService的OrderPageQuery方法时出现了问题。具体原因可能是在配置文件或代码中没有正确绑定该语句。根据引用\[3\]的代码示例,可以看出可能是在com.qf.shop_order.service.OrderService中缺少对应的方法或配置。需要检查代码和配置文件,确保正确绑定了该语句。
#### 引用[.reference_title]
- *1* [解决Mybatis报错并分析原因:Invalid bound statement (not found): com.xxx.mapper.xxx](https://blog.csdn.net/weixin_46713508/article/details/126634493)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxx.xxx 的解决...](https://blog.csdn.net/Hello_World_QWP/article/details/126713075)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [Invalid bound statement (not found): com.example.service.BookService.getBaseMapper](https://blog.csdn.net/m0_52228992/article/details/126158398)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文