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 

是什么意思?我应该采取哪些措施来解决错误?

感谢所有帮助

+0

我会假设OpenJPA期望在你没有的类“se.prv.pandora.ar​​endeprocess.entity.Anstalld”上有一些注释。 –

+0

这个答案可能是相关的:http://stackoverflow.com/a/2127277/771837 – trutheality

+0

谢谢你们。现在我了解了追踪的含义。实际上我只需重启我的服务器来解决这个问题,所以这可能是重新加载了我从VCS获得的新类的问题。 –

回答

2

看起来像你的模型类的se.prv.pandora.ar​​endeprocess.entity.Anstalld“尚未ehnanced。请参阅this链接,了解如何在openjpa中增强模型类,然后才能使用它们。

+0

哪个链接 - 缺少? – home

+0

woops我已经使'this'可点击。 – Jeshurun

+0

谢谢 - 现在链接工作。 – home