springboot整合mybatis,xml文件扫描路径配置(多路径)
mapper-locations: classpath*:mapper//.xml ,classpath:com/easy/admin//mapping/.xml#java目录下包路径写法com/easy/admin/**/mapping/.xml#resources下写法classpath*:mapper/**/*.xml
·
mapper-locations: classpath*:mapper//.xml ,classpath:com/easy/admin//mapping/.xml
#java目录下包路径写法com/easy/admin/**/mapping/.xml
#resources下写法classpath*:mapper/**/*.xml
更多推荐
已为社区贡献2条内容
所有评论(0)