This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
reset $CLASSPATH and restart rmiregistery
Posted by george wu on February 15, 2001 at 11:30 AM
> I'm trying to get a simple RMI app. up and running (from the Sun RMI
> http://developer.java.sun.com/developer/onlineTraining/rmi/RMI.html ).
> Anyways, I'm running both the server and client in the same directory.
> I created the interface, the service, the server, and the client all
> according to the code given in the tutorial. I generated the stub and
> skel classes. rmiregistery is running, but when I try to start the
> server, this is what I see.....
> java.rmi.ServerException: RemoteException occured in server thread;
> nested exception is:
> java.rmi.UnmarshalException: error unmarshalling arguments; nested
> exception is:
> java.lang.ClassNotFoundException: CalculatorImpl_Stub
> The CalculaorImpl_Stub class is sitting right there, but jdk says it's
> not there. I'm sure it's something really simple I'm missing. Thank
> you for any help you might be able to provide.
> Sincerely yours,