import java.io.IOException;
import org.springframework.core.io.Resource;
import org.springframework.core.io.support.PathMatchingResourcePatternResolver;
import org.springframework.util.ResourceUtils;
public class Test {
public static void main(String[] args) throws IOException {
Resource[] resources = new PathMatchingResourcePatternResolver().getResources(ResourceUtils.CLASSPATH_URL_PREFIX + "BOOT-INF/classes/static/*");
}
}
09-25
575
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)