I'd bet your driver's JAR is not in WEB-INF/lib.
On Thursday, April 18, 2013 10:04:35 PM UTC+2, Jamie wrote:
>
> This is driving me crazy.
>
> My (large) project uses Hibernate and Postgres.
> On one machine it works perfectly.
>
> On two machines:
> - All works fine when running externally (from the web server)
> - Other (non gwt) programs work fine, using the same eclipse project, same
> classpath, same config (persistence.xml) etc.
> - If I launch my project in GWT debug mode, the following code fails
> immediately:
> emf = Persistence.createEntityManagerFactory("dpu", connectionProperties);
>
> I have confirmed that all the connection properties are the same when
> connecting.
> There are two things that I am considering:
> - The classpath is incorrect
> - GWT is including hibernate code that is interfering with my EMF.
>
> Has anyone ever seen anything like this? I really want to use the
> debugger!!!
> Thanks for your time!
>
> -- Jamie
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.