Guice multibindings package missing in imports
Asked Answered
G

1

1

I have acquired the google.inject package via ivy in my IDE, however, I dont see the pacakage

com.google.inject.multibindings.Multibinder

Which is referenced here

http://google-guice.googlecode.com/svn/trunk/latest-javadoc/com/google/inject/multibindings/Multibinder.html

I'm wondering --- maybe there are multiple guice repost which I should pull from ?

I do, however, see the following packages : com.google.inject -> binder/internal/matcher/util

My ivy definition :

 <dependency org="com.google.inject" name="guice" rev="3.0" conf="*->*,!javadoc"/>
Glarum answered 31/12, 2011 at 14:6 Comment(0)
A
7

It's in the "guice-multibindings" artifact.

<dependency org="com.google.inject.extensions" name="guice-multibindings" rev="3.0"/>

mvnrepository info

(FWIW, sometimes info like this is easy to discover by downloading a project's main artifact(s) and un-archiving it, I just looked at the version I had laying around and saw the jar file then searched on mvnrepository for "guice", and there it was.)

Aeriell answered 31/12, 2011 at 14:15 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.