Hello guys,
I tried the following source code and it's not working, am I right?
@Inject(optional = true)
@Named("hello world")
private String message;
Guice is throwing the exception bellow:
Caused by: com.google.inject.ConfigurationException: Guice configuration errors:
1) No implementation for java.lang.String annotated with
@com.google.inject.name.Named(value=SignOutPage.redirectPage) was
bound.
while locating java.lang.String annotated with
@com.google.inject.name.Named(value=SignOutPage.redirectPage)
Thanks,
Eduardo S. Nunes
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---