Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing artifact com.google.guava:guava:bundle:18.0

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>
like image 893
Manoj Kumar Avatar asked Feb 12 '15 06:02

Manoj Kumar


People also ask

What is com Google Guava Guava?

Guava is an open-source “Collection Library” library for Java, developed by Google. It provides utilities for working with Java collections. As you dive deep into Guava you'll notice how it reduces coding errors, facilitates standard coding practices and boost productivity by making code concise and easy to read.

How do I know my guava version?

You can get a version string from files under META-INF/ in the guava. jar. At runtime you'll need to use appropriate ClassLoader instance in order to load the META-INF/ files you want.

What is Google guava maven?

Guava is a set of core Java libraries from Google that includes new collection types (such as multimap and multiset), immutable collections, a graph library, and utilities for concurrency, I/O, hashing, caching, primitives, strings, and more!

What is guava Maven dependency?

Guava is a suite of core and expanded libraries that include utility classes, google's collections, io classes, and much much more. Guava has only one code dependency - javax.


1 Answers

there is no type bundle, change it to

<dependency>
    <groupId>com.google.guava</groupId>
    <artifactId>guava</artifactId>
    <version>18.0</version>
</dependency>
  • http://repo1.maven.org/maven2/com/google/guava/guava/18.0/
like image 66
jmj Avatar answered Oct 11 '22 05:10

jmj