I am tiring to access file from resource folder in my controller class but not able to traverse path is there any way witch I can access that fie easily or how can I traverse to paths.
The file with i want to use in my controller
Code in controller class
String nodeFilePath = "D:/CodeFactory/TestCases/JavaScript/YamlToJson.js";
ProcessBuilder pb = new ProcessBuilder("node", nodeFilePath);
pb.redirectErrorStream(true);
nodeFilePath what i want to replace with the file path in resources