Resolving File paths – ‘File not found’ error in Eclipse January 23, 2022 by admin Use getClass().getResource() to read a file in the classpath: Complete code: