We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9fc345 + 7265763 commit 99c850fCopy full SHA for 99c850f
mybatis-spring-boot-autoconfigure/src/main/java/org/mybatis/spring/boot/autoconfigure/SpringBootVFS.java
@@ -42,7 +42,7 @@ public boolean isValid() {
42
protected List<String> list(URL url, String path) throws IOException {
43
ClassLoader cl = this.getClass().getClassLoader();
44
ResourcePatternResolver resolver = new PathMatchingResourcePatternResolver(cl);
45
- Resource[] resources = resolver.getResources(path + "/**/*.class");
+ Resource[] resources = resolver.getResources("classpath*:" + path + "/**/*.class");
46
List<Resource> resources1 = Arrays.asList(resources);
47
List<String> resourcePaths = new ArrayList<String>();
48
for (Resource resource: resources1) {
0 commit comments