Я использовал приведенный ниже код для записи вывода в файл
URL res = getClass().getClassLoader().getResource("resources/output.txt");
File file = Paths.get(res.toURI()).toFile();
System.out.println(file);
PrintWriter writer = new PrintWriter (file);
writer.write(fileContent);
writer.close();
I am able to see the output in the windows file system(C:\dsassignment\ShortestPath\bin\resources\output.txt) but eclipse is not showing the output file content
Любая помощь будет заметна