Type interface com.jiexin.mapper.InsertMapper is not known to the MapperRegistry.
时间: 2024-04-26 16:26:08 浏览: 8
回答:根据你提供的引用内容,报错信息"Type interface com.jiexin.mapper.InsertMapper is not known to the MapperRegistry"是由于在配置文件中没有正确设置Mapper的namespace值导致的。在你的问题中,你需要将com.jiexin.mapper.InsertMapper的namespace正确设置为com.jiexin.mapper.UserMapper。这样配置文件中的namespace与接口名一致,就能够正常运行了。请确保在配置文件中正确设置了mapper的namespace值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [Type interface xxx.XxxMapper is not known to the MapperRegistry解决方案](https://blog.csdn.net/qq_39691492/article/details/118060532)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]