I am using an array of files.
String[] allFiles = new String[]{"real.xml", "fake.xml"};
I am getting this error that
java.nio.file.NoSuchFileException: C:\Users\rio\rio-workspace\real.xml
I am trying to run command to know where it is looking for the file. I came across this solution but it doesn't work with array.
System.out.println(allFiles.toAbsolutePath());
Would appreciate if someone give right command to know about this problem.
Thanks
System.getProperty("user.dir");