resolving ambiguous references
Posted on 1998-04-21
I have the following:
class A extends C implements N in package root.serv.adm, the file imports root.* and root.serv.*;
interface N in package root;
class C in package root.serv;
When compiling I get a "reference to C is ambiguous; both class root.serv.C in package root.serv and class root.A in package root match." error.
There definately is no C class in package root, neither compiled nor as a .java file.
And what I want to do least is specify full package namespace when defining A like in
class A extends root.serv.C implements N;
If I drop the import root.*; clause I get a N not found error;
If I drop the import root.serv.*; clause I get a root.C is not public in package root error.
What could I be missing?