2
I have 3 Packages, one where the Gui class is located, another where the data reading "scripts" (in main) and photos and text files in the Resources.
File file = new File("/com/Convocatoria/resources/DB.txt");
Scanner sc = new Scanner(file);
I will use the scanner to read the file however it gives me the error
Unhandled Exception type Filenotfoundexception
This hierarchy you are using does not exist in the image. That’s why the error.
– user28595
@Articuno What do you mean? There are the Sources and the Convocatoria
– André Moreira
There is no packace "with".
– user28595
@Article It is not necessary to say before the "project name"?
– André Moreira
If you don’t have any package with in the project, why would you need to quote something that doesn’t exist?
– user28595
with, it would only be necessary if it were a package... the fact that it always exists as a package is because Oracle recommended the organization of the packages with the site name in reverse... www.google.com the packages would be br/com/google
– Luis Felipe
@Okay, thank you very much!
– André Moreira
@Andrémoreira only one addendum, Voce has not only 3 Packages, Voce has actually 4,
Convocatoria
is also a package that holds the other 3. Oh, if the answer helped you, you can accept it by clicking onv
the left so the answer serves as reference as a solution for others who find it in search.– user28595