原创 mybatis如何讀取jar包內的xml文件
原始 mybatis: mapper-locations: classpath:mapper/*.xml 修改爲: mybatis: mapper-locations: classpath:mapper/.xml 增加一個*表示會搜索jar
原始 mybatis: mapper-locations: classpath:mapper/*.xml 修改爲: mybatis: mapper-locations: classpath:mapper/.xml 增加一個*表示會搜索jar