qingmuchuanqi48
String path = ClassUtils.getDefaultClassLoader().getResource("").getPath();

通过这种方式可以获取静态资源的路径

分类:

技术点:

相关文章: