ES 2.0.0 + Antlr4 = Jar Hell

(Ed Howe) #1

It appears I can neither write an ES 2.0 plugin nor an application that uses a Node Client if I also want to use Antlr4 in my plugin or application, due to a "jar hell" IllegalStateException indicating a conflict with ES's antlr-runtime-3.5.jar.

Is there any way around this, or do I need to suck it up and use Antlr3 instead of Antlr4?

(Jörg Prante) #2

If you don't use the Lucene Expression Language

(which is optional to ES 2.0) you can safely remove ES antlr-runtime-3,5.jar

(system) #3