Spring Boot项目request获取根目录

String path = ClassUtils.getDefaultClassLoader().getResource("").getPath();get 获得的path 前面带个   /    不知道为何?path
相关文章
相关标签/搜索