Hello, I was having a tough time in RMI . My problem was that when I called Naming.rebind on the server side I got this error
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: AddServerImpl_Stub
From this error, It seems that it can't find the AddServerImpl_Stub.class file. However, the Stub is in the same directory as my 4 other classes I am using.
Any one know why this is happening?
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: AddServerImpl_Stub
From this error, It seems that it can't find the AddServerImpl_Stub.class file. However, the Stub is in the same directory as my 4 other classes I am using.
Any one know why this is happening?