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