FileReader File not Found Java
Posted
by
Lucas Camargo de Carvalho
on Stack Overflow
See other posts from Stack Overflow
or by Lucas Camargo de Carvalho
Published on 2013-07-01T16:07:46Z
Indexed on
2013/07/01
17:07 UTC
Read the original article
Hit count: 354
java
|filereader
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");
}
}
© Stack Overflow or respective owner