Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How do I not get rmi.UnmarshalException: java.lang.ClassNotFoundException:?

user12076936Jan 6 2010 — edited Jan 8 2010
Hello,

I'm not able to run the RMI example code provided by the sun tutorial. When I attempt running ComputeEngine in Eclipse I get:

ComputeEngine exception:
java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: compute.Compute

The code may be found on http://java.sun.com/docs/books/tutorial/rmi/running.html
I've only removed the code concerned with security. I run the registry in the terminal, before trying to execute. I recall it had worked with me yesterday, but today presenting it not.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2010
Added on Jan 6 2010
5 comments
623 views