每当我尝试调用从客户端我的EJB,我得到这个错误:
java.rmi.MarshalException: Failed to communicate.
Problem during marshalling/unmarshalling; nested exception is:
java.io.InvalidClassException: com.afrikbrain.util.message.MessageInfo;
local class incompatible:
stream classdesc serialVersionUID = 2285009932770474121,
local class serialVersionUID = -2900394430145132451 at
org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker
.java:122)
为什么会出现? 如何解决呢?