Hello... So, I have the following setup in Eclipse (Java):
- I have a project (lets call this "project 1") which provides an interface (which is package private)
- I have another project ("project 2") which contains a package from project 1... Classes in this package extend the package private interfaces in "project 1" and provide a nice public interface.
- Now, I have "project 3" which references "project 2". Project 3 then uses the public object provided in project 2.
Upon calling the constructor from project 2 in project 3, I get the following:
"the type {---} cannot be resolved. it is indirectly referenced from required .class files"
If I add a reference to project 1 from project 3, all is well. Is there a way to NOT have to reference project 3 in this way though? It really doesn't make sense to reference it.
I'm using Eclipse (Helios) with the most recent JDK etc...