Java错误RMI异常

时间:2013-10-20 17:19:46

标签: java rmi

我收到了这个错误,我在MAC和Eclipse上工作

我找不到真正的MAC解决方案

你能帮我吗?

mon ip : 192.168.0.11
Exception in thread "main" java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
    java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
    java.lang.ClassNotFoundException: remote.RemoteEvent
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:419)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)
    at sun.rmi.transport.Transport1.run(Transport.java:177)
    at sun.rmi.transport.Transport1.run(Transport.java:174)
    at java.security.AccessController.doPrivileged(Native Method)
    ...
Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: 
    java.lang.ClassNotFoundException: remote.RemoteEvent
    at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source)
    at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:409)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:267)
    ..
Caused by: java.lang.ClassNotFoundException: remote.RemoteEvent
    at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    at java.security.AccessController.doPrivileged(Native Method)
    ...
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1348)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
    ... 13 more

0 个答案:

没有答案