I am new to Git. I inherited an Eclipse Java project. I was able to check it out to my local repository, build and run.
I can’t make any changes to the source files. Somehow Eclipse still running the old version of file.
Old code: FileInputStream fis = new FileInputStream("C:/dir/FileA.txt");
New code: FileInputStream fis = new FileInputStream("C:/dir/FileB.txt");
Error message: java.io.FileNotFoundException: c:\dir\FileA.txt (The system cannot find the file specified)
Somehow Eclipse still execute the old code. I was able to open source file with Notepad. I see “C:/dir/FileB.txt".
Windows Eclipse Version: 2019-03 (4.11.0)
Solved! Solved! Go to Solution.