We found the root-cause to our problem. (Just in case someone have the same 
issue).

Guice.createInjector(new ServiceModule()); // This line caused the error

The Stacktrace was not helpful at all. I did a remote-debug and got the 
root cause. It was a wrong implementation:

bind(ServiceInterface.class).to(ServiceImpl.class);

I forgot the @Inject annotation at the ServiceImpl().

During the debugsession I got a nice Stacktrace with all information I 
needed. Without remote debugging I got no information about the cause.


Regards, 
Christian Kütbach






-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" 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-guice.
For more options, visit https://groups.google.com/d/optout.

Reply via email to