Reputation: 757
I'm using Eclipse Luna. When i add "guava" through maven i'm getting this error
Missing artifact com.google.guava:guava:bundle:18.0
I have followed Central Repository. I updated same, but still getting the same error.
My dependency in pom.xml file :
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
<type>bundle</type>
</dependency>
Upvotes: 10
Views: 13201
Reputation: 240966
there is no type bundle, change it to
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>18.0</version>
</dependency>
Upvotes: 14