Invalid bound statement (not found): com.ruoyi.system.mapper.XsqlserverCeshiMapper.ceshi
时间: 2023-11-11 16:52:45 浏览: 111
根据引用\[1\]和引用\[2\]的内容,出现"Invalid bound statement (not found)"错误通常是由于Mybatis配置文件中的映射路径配置错误导致的。请检查你的mapper的XML配置路径是否正确,确保路径与实际的文件路径一致。另外,根据引用\[3\]的内容,你还需要确保在配置文件中正确设置了mapper的路径和别名。请检查你的配置文件中是否正确设置了sqlSessionFactoryBean.setMapperLocations和sqlSessionFactoryBean.setTypeAliasesPackage参数,并且注意setTypeAliasesPackage参数不支持通配符*,如果有多个包可以通过","等分割。根据你提供的问题,具体的错误信息是"Invalid bound statement (not found): com.ruoyi.system.mapper.XsqlserverCeshiMapper.ceshi",这可能是由于该路径下的mapper文件中没有名为"ceshi"的statement导致的。请检查你的mapper文件中是否存在名为"ceshi"的statement,并确保路径和命名都是正确的。
#### 引用[.reference_title]
- *1* [Invalid bound statement (not found): com.ruoyi.system.mapper.UserMapper.selectUserList](https://blog.csdn.net/qq_46201721/article/details/114114233)[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^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [错误Invalid bound statement (not found): com.ruoyi.stock.mapper.StockDetailMapper.xxxx解决](https://blog.csdn.net/qq_45637260/article/details/125560214)[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^insert_down28v1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文