救救命!
mzjs 2001-03-04 12:03:00 我用Jbuilder4.0写了一个使用RMI的测试程序:
System.out.println("Create RMI Server...");
HelloWorldImpl hello = new HelloWorldImpl();
System.out.println("bind the hello world to registry...");
Naming.rebind ("HelloWorld", hello);
运行后总是出现下面的错误:
Create RMI Server...
bind the hello world to registry...
RemoteException occurred in server thread; nested exception is:
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.lang.ClassNotFoundException: mytestrmi.HelloWorldImpl_Stub
不知为何????