LOFTER for ipad —— 让兴趣,更有趣

点击下载 关闭
mapper-locations注意点

mapper-locations:classpath:mybatis/*.xml

mapper-locations: classpath*:mybatis/*.xml

多个模块之间调用需要使用classpath*,前面多了一个*

classpath:只会到你的class路径中查找找文件。 classpath*:不仅包含class路径,还包括jar文件中(class路径)进行查找


推荐文章
评论(0)
分享到
转载我的主页