Comment by [email protected]:
Hello!
In a project, I try tu use guice to provide instance of a implementation of
a interface.
There's no explicit bindings but a implementation with public no-args
constructor exists.
Guice throws a ConfigurationException.
Here some details:
com.google.inject.ConfigurationException: Guice configuration errors:
1) No implementation for com.test.IHello was bound.
while locating com.test.IHello
But I have this class:
public Hello implements IHello{
Hello(){
}
}
but guice is not able to create instance.
What's wrong in my code?
For more information:
http://code.google.com/p/google-guice/wiki/JustInTimeBindings
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" 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-dev?hl=en.