I am trying to import some existing projects into Eclipse. Structures for their packages:
Project/
/src
/java
/a
/b
/c
After importing in the package explorer, I see:
Project
src/java
- AClass.java
This is normal since classes, for example. AClass.java are defined in the package: a.b.c
But in one project, the structure (after import) becomes:
Project
src
- AClass.java
And this causes the error that the AClass.java class is defined in the package a.b.c, but in fact it is under java.a.b.c
Why is this happening? Why is java not ignored as part of the package in this particular project?
Thanks
source
share