i placed a file in my maven project under src/main/resources the files name is simply temp.txt.
When i try to open the file:
BufferedReader br = new
Had this problem when setting up integration tests in Jenkins.
The issue was caused by having the job inside a folder with spaces in the name. So instead of having a workspace folder named foo bar, Jenkins created foo%20bar and the tests all failed with FileNotFoundException.
The solution is just to rename your folder so it doesn't have any spaces.