JPA1 vs JPA2 compat Issue with Jetty?

2012-05-02 Thread 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

Re: JPA1 vs JPA2 compat Issue with Jetty?

2012-05-02 Thread Jens
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

Re: JPA1 vs JPA2 compat Issue with Jetty?

2012-05-02 Thread Carlos Alexandro Becker
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