以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 Java/Eclipse 』  (http://bbs.xml.org.cn/list.asp?boardid=41)
----  RMI新手问题  (http://bbs.xml.org.cn/dispbbs.asp?boardid=41&rootid=&id=17055)


--  作者:HoyTotoro
--  发布时间:4/16/2005 1:08:00 PM

--  RMI新手问题
我写了一个简单的RMI程序,照书上一步一步地做的;但是在运行server程序的时候,出错:
ArithServer Error: RemoteException occurred in server thread; nested exception is:
 java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
 java.lang.ClassNotFoundException: server.ArithServer_Stub

我已经用rmic编译得到了ArithServer_Stub.class文件的,也启动了rmiregistry的。是不是我的stub.class没有放对地方?
谢谢!


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
46.875ms