So i have 2 Files in the same Folder. "example.csv" and "example.jpg" but when i run this code, I get the path for example.jpg but loading the example.csv throws a Nullpointer.
System.out.println(this.getClass().getResource("/example.csv").getFile());
System.out.println(this.getClass().getResource("/example.jpg").getFile());
Thx for any help