如何解读我的堆栈跟踪?

时间:2012-05-07 07:03:00

标签: java websphere openjpa load-time-weaving compile-time-weaving

我使用IBM RAD 8并部署到websphere,然后我得到了这个堆栈跟踪:

ERROR ArendeProcessLoginServlet:142 - Fel i ArendeProcessLoginServlet, performTask(): 
javax.ejb.EJBTransactionRolledbackException: nested exception is: javax.ejb.EJBException: See nested exception; nested exception is: <openjpa-2.1.1-SNAPSHOT-r422266:1141200 fatal user error> org.apache.openjpa.persistence.ArgumentException: The type "class se.prv.pandora.arendeprocess.entity.Anstalld" has not been enhanced.
javax.ejb.EJBException: See nested exception; nested exception is: <openjpa-2.1.1-SNAPSHOT-r422266:1141200 fatal user error> org.apache.openjpa.persistence.ArgumentException: The type "class se.prv.pandora.arendeprocess.entity.Anstalld" has not been enhanced.
<openjpa-2.1.1-SNAPSHOT-r422266:1141200 fatal user error> org.apache.openjpa.persistence.ArgumentException: The type "class se.prv.pandora.arendeprocess.entity.Anstalld" has not been enhanced.
    at org.apache.openjpa.meta.ClassMetaData

这是什么意思?我应该采取哪些步骤来解决错误?

感谢您的帮助

1 个答案:

答案 0 :(得分:2)

看起来您的模型类'se.prv.pandora.ar​​endeprocess.entity.Anstalld'尚未获得批准。有关如何在openjpa中增强模型类之前,请参阅this链接。