Skip to content

Tag: inject

Expose Map from guice private Module

I am trying to expose a map from private module similar to Expose Map in private guice module but getting an error Could not expose() java.util.Map annotated with, it must be explicitly bound. I have written this code: Also in another class where I am injecting it, it gives: No implementation for java.util.Map<java.lang.String, java.lang.String> was bound. Please check. thanks