Search code examples
javawebsphereopenjpaload-time-weavingcompile-time-weaving

How to interpret my stacktrace?


I use IBM RAD 8 and deploy to websphere and then I get this stacktrace:

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

What does it mean? What steps should I take to resolve the error?

Thanks for any help


Solution

  • Looks like your model class 'se.prv.pandora.arendeprocess.entity.Anstalld' hasn't been ehnanced. See this link on how to enhance model classes in openjpa before they can be used by your application.