【发布时间】:2011-11-12 17:17:18
【问题描述】:
当我尝试调用远程接口时出现此错误:
java.rmi.MarshalException: error marshalling arguments; nested exception is: java.io.NotSerializableException: javax.crypto.Cipher
这些是接口:
public interface Operacion extends Remote{
String operacionDesencripta(byte ciphertext[],Key key,Cipher cipher)
throws RemoteException;
}
我这样称呼它:
rmiServidor.operacionDesencripta(ciphertext,key,cipher);
处理完所有数据后
【问题讨论】: