首页 > 其他分享 >nvalid bound statement (not found): com.ruoyi.xxx.mapper.xxx

nvalid bound statement (not found): com.ruoyi.xxx.mapper.xxx

时间:2023-03-02 20:13:28浏览次数:58  
标签:mapper resource 创建 xxx bound com 目录

出现这个问题是由于resource目录下的mapper命名空间和java目录下的mapper不对应,踩坑点是在Java目录创建多层目录时都是用点号.分隔目录,所以在resource目录创建多层目录也用了点号.分隔目录,虽然创建成功了,但是会报标题这个异常,所以在resource目录创建多层目录要用/斜杆分隔目录,如 com/chen/student,在java目录下才可以用com.chen.student。

标签:mapper,resource,创建,xxx,bound,com,目录
From: https://www.cnblogs.com/unlasting/p/17173241.html

相关文章