I'm having a problem with path-setting in my java code. I am using this code snippet to set the path in the code i'm working on.
System.getProperty("user.dir") + "/src/main/resources/folder/testFile.txt"
But when I print this on console it the output is like this;
E:\Eclipse-K2\northbay-train/src/main/resources/folder/testFile.txt
My code of the util method gives the error in the path setting line which courses a failure. Can some one give me tip to get over with the problem?