dcsimg
Why do I continue to get ClassNotFoundException on server stub class?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jimmy_bellows
Posted On:   Thursday, March 22, 2001 11:26 AM

After I start rmiregistry, I start my server, but am getting the exception:


			
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: {package}.[server]_Stub

Any ideas how I can avoid this?

Re: why do i continue to get ClassNotFoundException on server stub class?

Posted By:   Sehner_Ralf  
Posted On:   Friday, March 23, 2001 04:28 AM

I had the same problem.
The solution was to use the parameter -Dxxx like in
the following call:

java -classpath=.. -Djava.rmi.server.codebase=file:///://

Do not forget to use the trailing '/'.
About | Sitemap | Contact