RMI Exception : java.lang.NoSuchMethodError
843793Jun 14 2007 — edited Jun 14 2007I've received this Exception :
Exception in thread "main" java.lang.NoSuchMethodError:stub class initialization failed at : CLASSE_Stub.<clinit> <Unknown Source>
I start the registry with : rmiregistry
I compile all the -java : javac *.java
I create the stub with : rmic CLASSE
but when i start the Remote Object with : java CLASSE I have this exception
I think I have problem with codebase but I don't know how to solve it ...help me please.
I have my .class in c:\prove\ and I try the command :
java �Djava.rmi.server.codebase= file://c:\prove\ CLASSE
but I received :
Exception in thread "main" java.lang.NoClassDEfFoundError : �Djava/rmi/server/codebase=