[请教]rmi怎么实现自己写的对象的传递?

报这个异常
RemoteException
java.rmi.UnmarshalException: error unmarshalling return; nested exception is: 
    java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: edu.bupt.rmi.ComputingUnit

我把ComputingUnit类实现了Serializable接口还报这个错
求教啊

碰巧看到IO方面
请查看一下ComputingUnit是否引用了其他无法序列化类

可以使用如下方法查看具体哪个类无法序列化
[code="java"]try {
//...
}
catch (NotSerializableException ex) {
System.err.println(ex.getMessage( ) + " could not be serialized");
}[/code]

两侧包是否不同?

那个类里的非transient字段有没有不可序列化的?!