mapper.xml Invalid bound statement (not found):
时间: 2023-10-15 20:24:16 浏览: 100
报错信息 "Invalid bound statement (not found)" 意味着在mapper.xml文件中找不到对应的绑定语句。这通常是因为mapper.xml文件中的namespace与Mapper接口所在的包不匹配所致。
解决这个问题的方法是修改mapper.xml文件中的namespace,使其与Mapper接口所在的包对应上。将namespace修改为 "com.abcd.efgh.module.archive.batch.dao.ValidControllerMapper" 即可解决此报错。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Mapper – Xml 对应问题 Invalid bound statement (not found):](https://blog.csdn.net/DaiQHua/article/details/114273720)[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 ]
阅读全文