springboot获取项目的绝对路径 2017-06-23 本文已影响261人 H_Man String path = ClassUtils.getDefaultClassLoader().getResource("").getPath();