OpenJPA « JPA « JSF Q&A





1. JSF 2 OpenJPA 2 Glassfish 3.1 WEB9031 Error    stackoverflow.com

I got this error which according to Apache Support is an issue relating with Glassfish rather than OpenJPA:

java.lang.IllegalStateException: WEB9031: WebappClassLoader unable to load resource [org.apache.openjpa.util.LongId], because it has not yet been ...

2. OpenJPA 2.1.1 enhancement problem on Glassfish 3.1.1    stackoverflow.com

My problem is this exception:

Caused by: <openjpa-2.1.1-r422266:1148538 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load ...