我在两台不同物理机器上的2个JVM上运行程序这里。 我遇到了以下错误:
RemoteException
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: CalculatorImpl_Stub (no security manager: RMI class loader disabled)
我甚至尝试在同一台机器上运行它(未更改的程序),它可以正常工作,但在不同的机器上却无法工作。请问有人能帮我解决问题吗?@beny23- 感谢您的回复,但我仍然遇到了这个错误:
RemoteException
java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: CalculatorImpl_Stub
客户端如何拥有 CalculatorImpl_stub 的副本?