I found the problem. GWT-P crawler was adding javax.persistence-api 1.0 to the classpath. I add a exclusion for it in pom.xml and everything works fine.
Thanks , anyway. On Wednesday, May 2, 2012 10:14:09 AM UTC-3, Jens wrote: > > Maybe you have for some reasons both JPA 1 and JPA 2 API in your > classpath? Already googled the error message? > > -- J. > > Am Mittwoch, 2. Mai 2012 14:27:24 UTC+2 schrieb Carlos Alexandro Becker: >> >> Hello. >> >> I'm coding an app with guice-persist, gwtp, jpa2 and hibernate. In the >> "not web" mode, the tests and everything about persistence run fine... but, >> when I try to use them in devmode I got many errors related to >> compatibility issues with JPA1 and 2. >> >> Someone know anything about this? thanks >> > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Zt5s0Ry7GksJ. 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-web-toolkit?hl=en.
