java.lang.IllegalStateException: jar hell! class: com.google.common.annotations.Beta jar1: /usr/share/elasticsearch/lib/hive-exec.jar jar2: /usr/share/elasticsearch/lib/guava-18.0.jar

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via elastic.co by Unknown author, 1 year ago
jar hell! class: com.google.common.annotations.Beta jar1: /usr/share/elasticsearch/lib/hive-exec.jar jar2: /usr/share/elasticsearch/lib/guava-18.0.jar
via Stack Overflow by fmyblack
, 2 years ago
jar hell! class: org.apache.commons.collections.ArrayStack jar1: D:\Program Files\elasticsearch-2.0.0\lib\commons-beanutils-1.8.0.jar jar2: D:\Program Files\elasticsearch-2.0.0\lib\commons-collections-3.2.1.jar
via GitHub by pluradj
, 8 months ago
jar hell! class: groovy.beans.Bindable jar1: /Users/pluradj/src/github/JanusGraph/janusgraph/pull/janusgraph-0.1.0-SNAPSHOT-hadoop2/bin/../lib/groovy-2.4.7-indy.jar jar2: /Users/pluradj/src/github/JanusGraph/janusgraph/pull/janusgraph-0.1.0-SNAPSHOT-hadoop2/bin/../lib/groovy-2.4.7.jar
via GitHub by chilly
, 1 year ago
jar hell! class: org.joda.time.base.BaseDateTime jar1: /Users/chilly/workspace/elasticsearch/core/build/distributions/elasticsearch-6.0.0-alpha1-SNAPSHOT.jar jar2: /Users/chilly/.gradle/caches/modules-2/files-2.1/joda-time/joda-time/2.9.4/1c295b462f16702ebe720bbb08f62e1ba80da41b/joda-time-2.9.4.jar
via GitHub by sscarduzio
, 9 months ago
jar hell! class: com.google.thirdparty.publicsuffix.PublicSuffixPatterns jar1: /Users/sscarduzio/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/21.0/3a3d111be1be1b745edfa7d91678a12d7ed38709/guava-21.0.jar jar2: /Users/sscarduzio/.gradle
via GitHub by sscarduzio
, 10 months ago
jar hell! class: org.newsclub.net.unix.AFUNIXSocketImpl$1 jar1: /Users/sscarduzio/.gradle/caches/modules-2/files-2.1/org.testcontainers/testcontainers/1.1.9/393068ce7bcbf8b8d8a0b076aff538baf952258b/testcontainers-1.1.9.jar jar2: /Users/sscarduzio
java.lang.IllegalStateException: jar hell! class: com.google.common.annotations.Beta jar1: /usr/share/elasticsearch/lib/hive-exec.jar jar2: /usr/share/elasticsearch/lib/guava-18.0.jar
at org.elasticsearch.bootstrap.JarHell.checkClass(JarHell.java:280)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:186)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:87)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:164)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:285)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.