Załaduj plik z Spring Boot ClassPath
public void testResourceFile() throws IOException {
File resource = new ClassPathResource("test.json").getFile();
String text = new String(Files.readAllBytes(resource.toPath()));
}
Fancy Doll