Jar hell?


(Ping Luo) #1

when i install a Customized plugin on elasticsearch, i got this error, it's so puzzled

Caused by: java.lang.IllegalStateException: jar hell!
class: org.joda.time.base.AbstractDateTime
jar1: /usr/share/elasticsearch/plugins/.installing-13215268030509420441/joda-time-2.9.9.jar
jar2: /usr/share/elasticsearch/lib/joda-time-2.9.9.jar
	at org.elasticsearch.bootstrap.JarHell.checkClass(JarHell.java:275)
	at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:192)
	at org.elasticsearch.plugins.PluginsService.checkBundleJarHell(PluginsService.java:473)
	... 12 more

(David Pilato) #2

Don't include joda-time in your plugin as it's already provided by elasticsearch.


(Ping Luo) #3

it's work, thanks a lot


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.