Results 1 to 1 of 1
Thread: Using RMI in Java
- 04-22-2008, 12:10 PM #1Member
- Join Date
- Mar 2008
- Rep Power
Using RMI in Java
I'm trying to run a client-server application using RMI in Eclipe. From the command line I can start both the server and the client with no problems. Then I tried to start the server from the command line and the client from eclipse.
At this point I get the following exception when starting the client:
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Unknown Source)
at com.test.v3.rmi.client.Connect.main(Connect.java:7 4)
Caused by: java.lang.ClassNotFoundException: IStartRepository
at java.net.URLClassLoader$1.run(Unknown Source)
Could somebody please tell me what configurations I need to do in order to be able to use rmi from eclipse.
Thanks in advace!