根据错误信息,出现了org.apache.ibatis.binding.BindingException异常,具体错误信息为"Invalid bound statement (not found):
时间: 2023-10-15 15:31:52 浏览: 47
根据错误信息中的"Invalid bound statement (not found): com.xxx.xxx"可以推断出,此异常是由于在MyBatis-Plus持久化框架中,Mapper.java与Mapper.xml之间的绑定关系失败所导致的。在业务操作中,如果业务调用流转到Mapper.xml,但找不到相应的绑定关系,就会触发这个异常。这种情况下,可能是在Mapper.xml中没有正确配置对应的SQL语句或语句ID与Mapper.java中的方法名不匹配。要解决这个问题,你需要检查Mapper.xml文件中是否包含了正确的SQL语句,并且确保语句ID与对应的Mapper.java方法名匹配。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文