org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.apple.springboot.demo.mapper.ImageMapper.insertImage
时间: 2023-10-14 12:31:59 浏览: 83
MyBatis绑定错误提示BindingException:Invalid bound statement (not found)的解决方法
引用提供了一个错误信息,即"org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.apple.springboot.demo.mapper.ImageMapper.insertImage"。该错误信息表示无法找到com.apple.springboot.demo.mapper.ImageMapper类的insertImage方法。通过引用的翻译,我们可以将该错误信息翻译为中文为"嵌套异常是org.apache.ibatis.binding.BindingException: 无效的绑定语句(未找到):com.apple.springboot.demo.mapper.ImageMapper.insertImage"。从引用中的UserMapper.java类的代码可以看出,该类使用了@Mapper注解,并继承了BaseMapper接口,其中定义了一个queryByParam方法用于查询用户信息。然而,在错误信息中提到的com.apple.springboot.demo.mapper.ImageMapper类的insertImage方法并不存在于该类中。因此,我们可以分析出问题所在是在com.apple.springboot.demo.mapper.ImageMapper类中找不到insertImage方法。<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):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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文