I am using net 5.0 which uses
java 1.5.0_06 version.
Here is what i did
New project
This project has an interface that extends that Remote interface and all the methods in this interface are de
clard to throw a RemoteException.
I have the service class that implements this inteface and its no-arg constructor throws a RemoteException.
And i have a Main class that continst the main method which puts the service class in the rmi registry
Naming.bind(name,object)
When i run the main class i receive the following exception :
emoteException occurred in server
thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: tryrmi.SayHello
I know that java 1.5 autogenerates the stub and skeleton objects.
Anybody can tell me how to solve this problem??