0
I was debugging here and I came across a curious situation. I already fucked, but I could not succeed in discovering the problem.
On a project, I have the class EntidadeDAO
in the project1. In another project, in the same Workspace, I have a class with the same name, EntidadeDAO
, in the project2.
When debugging the project1, in this class, the eclipse points to the class of the project2.
Obs: The two classes are quite different, only the names are equal. Only the same names. The project name and packages are all different.
Someone else has been through this and can tell me why?
Edit: I’m using Eclipse Neon, I forgot to warn.
Could be the import of
EntidadeDAO
point to project two. How did you add this class to the project? as normal file or library?– rray
is in the same package, the
package faturamento;
– Henrique Santiago
Even if project 2 is closed, does that happen? See also if project 1 has no reference to project 2. Check the build path.
– rray
No, there is no reference to the other project in the build path.
– Henrique Santiago
I didn’t try to close it.
– Henrique Santiago