\Users\user\Desktop\3rd Year\Final year project\rmi>javac * java Retrieval.java:8: error: class RetrievalImp is public, should be declared in a file named RetrievalImp.java public class RetrievalImp extends UnicastRemoteObject implements RetrievalInterface{ ^ Retrievalint.java:3: error: interface RetrievalInterface is public, should be declared in a file named RetrievalInterface.java public interface RetrievalInterface extends Remote{ ^ error: Class names, 'java', are only accepted if annotation processing is explicitly requested 3 errors C:\Users\user\Desktop\3rd Year\Final year project\rmi>javac * java error: Class names, 'java', are only accepted if annotation processing is explicitly requested Client.java:17: error: cannot find symbol RetrievalInterface obj = (RetrievalInterface) registry.lookup("RETRIEVE"); ^ symbol: class RetrievalInterface location: class Client Client.java:17: error: cannot find symbol RetrievalInterface obj = (RetrievalInterface) registry.lookup("RETRIEVE"); ^ symbol: class RetrievalInterface location: class Client Server.java:10: error: cannot find symbol RetrievalImp obj = new RetrievalImp(); ^ symbol: class RetrievalImp location: class Server Server.java:10: error: cannot find symbol RetrievalImp obj = new RetrievalImp(); ^ symbol: class RetrievalImp location: class Server 5 errors C:\Users\user\Desktop\3rd Year\Final year project\rmi>javac * java error: Class names, 'java', are only accepted if annotation processing is explicitly requested Server.java:11: error: cannot find symbol Retrieval obj = new RetrievalImp(); ^ symbol: class RetrievalImp location: class Server 2 errors C:\Users\user\Desktop\3rd Year\Final year project\rmi> javac * java error: Class names, 'java', are only accepted if annotation processing is explicitly requested 1 error C:\Users\user\Desktop\3rd Year\Final year project\rmi>javac * client.java C:\Users\user\Desktop\3rd Year\Final year project\rmi>
Обсуждают сегодня