0

我使用 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

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

谢谢你的帮助

4

1 回答 1

2

看起来您的模型类 'se.prv.pandora.ar​​endeprocess.entity.Anstalld' 没有得到增强。请参阅链接,了解如何在 openjpa 中增强模型类,然后您的应用程序才能使用它们。

于 2012-05-07T07:09:24.760 回答