Hi,
I'm trying to use Google Guice in project that uses GWT and Hibernate.
Before incorporating Guice, everything worked fine, i.e. unit tests
using database worked fine. First, I tried to run a unit test using
database, and it worked fine. Then I modified the web.xml file and
created two classes: context listener, that initialises the
application, and Guice filter.

The problem seems to be in application initialisation. In the module,
I'm installig the JPA Guice module, with the argument of the
persistence unit, just like in the persistence.xml. When I'm trying to
run the GWT application, I'm getting No persistence for Entity Manager
provider for "persdb" (or something like that, where persdb is the
name of the persistence unit).

This happens wherever I put my persistence.xml file. Have someone had
such situation? What is the solution?

Regards,
Mateusz

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" 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-guice?hl=en.

Reply via email to