FileReader File not Found Java
- by Lucas Camargo de Carvalho
I have done everything I know. The file is not a ".filetype.filetype". It is in the same folder as the .settings and the other project files. Why is this not working? Full path isn't working either, but strangely, a Scanner is working.
import java.io.FileReader;
public class test {
public static void main(String[] args) {
FileReader testFileReader = new FileReader("hotels.json");
}
}