org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.hnyc.mapper.CandRoleMapper.select1
时间: 2023-08-25 11:14:04 浏览: 42
引用、和的内容都提到了相同的错误信息:"org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.xxx.xxx"。这个错误通常是因为MyBatis在执行数据库操作时找不到对应的SQL语句。根据错误信息中提到的具体语句"com.hnyc.mapper.CandRoleMapper.select1"来看,可能是CandRoleMapper接口中的一个查询语句无法找到。解决这个问题的方法是检查mapper文件中是否定义了名为"select1"的语句,并且确保该语句的命名空间与mapper接口的全限定名一致。另外,还需要检查是否将mapper接口正确地映射到了MyBatis的配置文件中。如果以上步骤都没有问题,可以尝试重新编译并重新部署应用程序来解决这个错误。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.mybatis.mapper.](https://blog.csdn.net/weixin_46388053/article/details/124680946)[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^v92^chatsearchT0_1"}} ] [.reference_item]
- *2* [解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found):xxx问题](https://blog.csdn.net/lvoelife/article/details/128017529)[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^v92^chatsearchT0_1"}} ] [.reference_item]
- *3* [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^v92^chatsearchT0_1"}} ] [.reference_item]
[ .reference_list ]
相关推荐
![png](https://img-home.csdnimg.cn/images/20210720083516.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)