Java错误RMI异常

Java错误RMI异常,java,rmi,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

我犯了这个错误,我在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

听起来好像服务器端缺少
remote.RemoteEvent
类……很可能不是在类路径上,或者以其他方式不可用。由于您没有告诉我们如何运行服务器,或者
remote.RemoteEvent
类在哪里,或者诸如此类的内容,所以很难帮助您…我尝试使用registry&Commands在终端中运行,它完全不告诉我们类在哪里等…重复