JAVA获取各种路径
String path = System.getProperty("user.dir"); // 获取当前项目的实际路径
InputStream is = JwtUtil.class.getResourceAsStream("/application.yml"); // 获取项目配置文件信息(application.yml)
https://www.iteblog.com/java_get_file_absolute_path/
String path = System.getProperty("user.dir"); // 获取当前项目的实际路径
InputStream is = JwtUtil.class.getResourceAsStream("/application.yml"); // 获取项目配置文件信息(application.yml)
https://www.iteblog.com/java_get_file_absolute_path/