Hello, i have a problem With JPA and Google Engine, i have one trial
web application http://jocual.appspot.com/index.jsp and it works good
with JDO but when i use JPA it report the next error:
Caused by: java.lang.NoClassDefFoundError: javax/persistence/spi/
ProviderUtil
at
com.google.appengine.runtime.Request.process-2e0607ad3b5a947f(Request.java)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:132)
at javax.persistence.Persistence.createFactory(Persistence.java:160)
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:
112)
at
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:
66)
at com.presentacion.EMF.<clinit>(EMF.java:6)
at
com.presentacion.PersistenceActionJPA.execute(PersistenceActionJPA.java:
38)
And i have a persistence.xml and all the anotations and all the jar´s
incluyed in the proyect, i dont know what is happen?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.