【发布时间】:2014-12-19 20:37:06
【问题描述】:
我正在使用 jpa 2 (EclipseLink)、ejb 3 和 PrimeFaces 开发一个应用程序,该应用程序分为 jar (和 jpa ejb) 和一个战争,在尝试部署时我收到此错误:
Exception is: java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed; nested exception is: java.io.InvalidClassException: org.eclipse.persistence.internal.helper.DatabaseTable; Local class incompatible: stream serialVersionUID = 7408378167056177847 classdesc, the local class serialVersionUID = -8,219,935,847,209,476,671 at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.unwrapRemoteException (RemoteBusinessIntfProxy.java:121) at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke (Remote
我很清楚这是 SERIAL 错误 ID 的一个版本,但我该如何修复它?使用 Eclipse 作为 ID。
感谢您的帮助!!
【问题讨论】: