I created a directory called "middle", and inside it another directory called "level", and inside the "level" - OrderManager.java, which is the interface and OrderManagerImpl.java that has its implementation.
The problem is when I try to compile OrderManagerImpl.java from outside the middle.tier package that it compiles, but when I do the same inside the package, it causes the following error:
OrderManagerImpl.java:6: cannot find symbol
symbol: class OrderManager
public class OrderManagerImpl extends java.rmi.server.UnicastRemoteObject implements OrderManager {
Why is that?
Neal source share