diff --git a/src/main/java/cokr/xit/fims/DatabaseConfig.java b/src/main/java/cokr/xit/fims/DatabaseConfig.java index 36f28e23..1ffcc842 100644 --- a/src/main/java/cokr/xit/fims/DatabaseConfig.java +++ b/src/main/java/cokr/xit/fims/DatabaseConfig.java @@ -31,9 +31,9 @@ public class DatabaseConfig { @Override protected String[] mapperLocationPatterns() { return new String[] { - "classpath:sql/mapper/base/*.xml", - "classpath:sql/mapper/interfaces/*.xml", - "classpath:sql/mapper/fims/**/*.xml", + "classpath*:sql/mapper/base/*.xml", + "classpath*:sql/mapper/interfaces/*.xml", + "classpath*:sql/mapper/fims/**/*.xml", }; } @@ -67,8 +67,8 @@ public class DatabaseConfig { @Override protected String[] mapperLocationPatterns() { return new String[] { - "classpath:sql/mapper/base/utility.xml", - "classpath:sql/mapper/cp/*.xml", + "classpath*:sql/mapper/base/utility*.xml", + "classpath*:sql/mapper/cp/*.xml", }; }