目录
- 获取 resource 目录
//resource根目录
String path = Main.class.getClassLoader().getResource("").getPath();
- 获取项目根目录文件夹
Path yt = Paths.get("yt").toAbsolutePath();
目录
http://localhost:8080/archives/24c2768f-bd17-4467-95dc-d227570f7fd0