Invalid bound statement (not found): com.benang.dao.AppApiSubMapper.getAppApiSubInf
时间: 2023-08-16 19:17:19 浏览: 79
解决org.apache.ibatis.binding.BindingException: Invalid bound statement (not found
5星 · 资源好评率100%
根据提供的引用内容,问题是关于一个无效的绑定语句的错误。根据引用\[1\]和引用\[2\],这个错误可能是由于缺少xxxMapper.xml文件或者缺少mybatis的依赖导致的。你可以尝试在启动springboot对象上添加@MapperScan注解,并指定正确的mapper包路径,同时在mapper文件上添加@Mapper注解,以确保mapper文件被正确扫描和加载。另外,你还需要在pom.xml文件中添加mybatis的依赖,确保项目能够正确使用mybatis。最后,你还可以检查一下编译生成的target目录,确保xxxMapper.xml文件被正确地放置在对应的位置。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* *3* [Invalid bound statement (not found): com.example.demo.mapper.getUser.](https://blog.csdn.net/xxpxxpoo8/article/details/127548543)[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^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [Invalid bound statement (not found): com.example.demo1.mapper.UserMapper.XXX](https://blog.csdn.net/Maynodie/article/details/122587788)[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^koosearch_v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文