Spring Boot項目request獲取根目錄

String path = ClassUtils.getDefaultClassLoader().getResource("").getPath();get 獲得的path 前面帶個   /    不知道爲何?path
相關文章
相關標籤/搜索