ES doesn't start : 1) NoSuchFieldError[LUCENE_31]2) NoClassDefFoundError[Could not initialize class org.elasticsearch.common.lucene.Lucene]


(shruthi) #1

Hello,
I have just decided to use ES and downloaded the archive
elasticsearch-0.16.0. On trying to execute elasticsearch.bat, I get
the following error.

[2011-05-09 09:24:27,357][ERROR][bootstrap ]
{elasticsearch/0.16.
0}: Initialization Failed ...

  1. NoSuchFieldError[LUCENE_31]2) NoClassDefFoundError[Could not
    initialize class
    org.elasticsearch.common.lucene.Lucene]

I see that the Lucene jars are available in the lib folder. Any idea
what could be the problem?

Thanks in advance!
Shruthi


(shruthi) #2

Problem resolved.
My CLASSPATH was pointing to lucene 3.0 and hence was not picking up
the latest version from lib.

On May 9, 9:10 am, shruthi shruthiar...@gmail.com wrote:

Hello,
I have just decided to use ES and downloaded the archive
elasticsearch-0.16.0. On trying to execute elasticsearch.bat, I get
the following error.

[2011-05-09 09:24:27,357][ERROR][bootstrap ]
{elasticsearch/0.16.
0}: Initialization Failed ...

  1. NoSuchFieldError[LUCENE_31]2) NoClassDefFoundError[Could not
    initialize class
    org.elasticsearch.common.lucene.Lucene]

I see that the Lucene jars are available in the lib folder. Any idea
what could be the problem?

Thanks in advance!
Shruthi


(system) #3