Skip to content

Commit 82a42aa

Browse files
committed
refactor: 配置 mybatis xml 路径为 classpath*
1 parent 5d8a79c commit 82a42aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simple-application/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ server:
88

99
# 配置 mybatis
1010
mybatis:
11-
mapper-locations: classpath:mapper/**/*.xml
11+
mapper-locations: classpath*:mapper/**/*.xml
1212
type-aliases-package: top.cadecode
1313
configuration:
1414
map-underscore-to-camel-case: true

0 commit comments

Comments
 (0)