最后还是老实按照springboot单项目来做
springboot配置扫描第三方jar的mapper.xml文件
5springboot如何配置扫描第三方jar的mapper.xml文件?
使用
##指向mapper的xml文件位置
mybatis.mapper-locations=classpath:com.weixinmall.mallweb.dao/*Mapper.xml,com.weixinmall.malluser.dao/*Mapper.xml
不生效.在classpath下面根本没有第三方jar的包名.这种情况应该如何配置?
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答