关于mybatis-plus:报错-Invalid-bound-statement-not-found-comxxxmapperxxx

8次阅读

共计 210 个字符,预计需要花费 1 分钟才能阅读完成。

Mybaits-puls 我的项目启动时报错 Invalid bound statement (not found): com.xxx.mapper.xxx
起因
我的项目启动时未找到 mapper 中的办法

解决办法:
在 springboot 或 mybaits-puls 的配置文件中加上:

mybatis-plus.mapperLocations=classpath:XXX/XXXX/mapper/**/*.xml  

地址最终指向你的 xml 文件即可

正文完
 0