Hi, It is done here http://svn.apache.org/viewvc/openjpa/trunk/openjpa-examples/openbooks/build.xml?view=markup
If you use maven check you generate and that it is compiled and included in the artifact. - Romain Le 1 août 2012 00:28, "vmix" <[email protected]> a écrit : > Hi, > > I'm trying to get TomEE working with a default OpenJPA injected > EntityManager. Here's the error: > > WARNING - Meta class "com.blah.jpa.UserAddress_" for entity class > com.blah.jpa.UserAddress can not be registered with following exception > "java.security.PrivilegedActionException: java.lang.ClassNotFoundException: > com.blah.jpa.UserAddress_" > > I thought maybe this meant that the OpenJPA needed to be pre-enhanced by my > build script, which I believe I've done now but still get the same error. > > Ideas? > > Thanks > > > > -- > View this message in context: > http://openejb.979440.n4.nabble.com/tomEE-with-OpenJPA-meta-class-problems-tp4656610.html > Sent from the OpenEJB User mailing list archive at Nabble.com. >
