(Spring和Mybatis整合) invalid bound statement (not found)

(Spring和Mybatis整合) 报错 invalid bound statement (not found),找遍百度都没有合适的答案.

后面终于自己发现了:
如果你的xml配置文件在包中,你要指明xml的所在路径.
扫描器好像只扫接口.

在这里插入图片描述

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_43354959/article/details/88533627