Org.elasticsearch.common.inject.CreationException: Guice creation errors:

I am using 19.3 elasticsearch and I am getting this error when I run job to
index data.

org.elasticsearch.common.inject.CreationException: Guice creation errors:

  1. Error injecting constructor, java.lang.NoSuchFieldError: LUCENE_36
    at
    org.elasticsearch.indices.analysis.IndicesAnalysisService.(Unknown
    Source)
    while locating org.elasticsearch.indices.analysis.IndicesAnalysisService
    for parameter 4 at
    org.elasticsearch.indices.InternalIndicesService.(Unknown Source)
    while locating org.elasticsearch.indices.InternalIndicesService
    while locating org.elasticsearch.indices.IndicesService
    for parameter 6 at
    org.elasticsearch.node.service.NodeService.(Unknown Source)
    while locating org.elasticsearch.node.service.NodeService
    Caused by: java.lang.NoSuchFieldError: LUCENE_36
    at org.elasticsearch.common.lucene.Lucene.(Lucene.java:43)
    at
    org.elasticsearch.indices.analysis.IndicesAnalysisService.(IndicesAnalysisService.java:111)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance
    org.elasticsearch.common.inject.CreationException: Guice creation errors:

You don't use the correct lucene jar files with elasticsearch...

On Thu, May 17, 2012 at 3:06 AM, Mohit Anchlia mohitanchlia@gmail.comwrote:

I am using 19.3 elasticsearch and I am getting this error when I run job
to index data.

org.elasticsearch.common.inject.CreationException: Guice creation errors:

  1. Error injecting constructor, java.lang.NoSuchFieldError: LUCENE_36
    at
    org.elasticsearch.indices.analysis.IndicesAnalysisService.(Unknown
    Source)
    while locating org.elasticsearch.indices.analysis.IndicesAnalysisService
    for parameter 4 at
    org.elasticsearch.indices.InternalIndicesService.(Unknown Source)
    while locating org.elasticsearch.indices.InternalIndicesService
    while locating org.elasticsearch.indices.IndicesService
    for parameter 6 at
    org.elasticsearch.node.service.NodeService.(Unknown Source)
    while locating org.elasticsearch.node.service.NodeService
    Caused by: java.lang.NoSuchFieldError: LUCENE_36
    at org.elasticsearch.common.lucene.Lucene.(Lucene.java:43)
    at
    org.elasticsearch.indices.analysis.IndicesAnalysisService.(IndicesAnalysisService.java:111)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance
    org.elasticsearch.common.inject.CreationException: Guice creation errors:

Thanks! I fixed it by removing old lucene jar

On Wed, May 16, 2012 at 5:10 PM, Shay Banon kimchy@gmail.com wrote:

You don't use the correct lucene jar files with elasticsearch...

On Thu, May 17, 2012 at 3:06 AM, Mohit Anchlia mohitanchlia@gmail.comwrote:

I am using 19.3 elasticsearch and I am getting this error when I run job
to index data.

org.elasticsearch.common.inject.CreationException: Guice creation errors:

  1. Error injecting constructor, java.lang.NoSuchFieldError: LUCENE_36
    at
    org.elasticsearch.indices.analysis.IndicesAnalysisService.(Unknown
    Source)
    while locating org.elasticsearch.indices.analysis.IndicesAnalysisService
    for parameter 4 at
    org.elasticsearch.indices.InternalIndicesService.(Unknown Source)
    while locating org.elasticsearch.indices.InternalIndicesService
    while locating org.elasticsearch.indices.IndicesService
    for parameter 6 at
    org.elasticsearch.node.service.NodeService.(Unknown Source)
    while locating org.elasticsearch.node.service.NodeService
    Caused by: java.lang.NoSuchFieldError: LUCENE_36
    at org.elasticsearch.common.lucene.Lucene.(Lucene.java:43)
    at
    org.elasticsearch.indices.analysis.IndicesAnalysisService.(IndicesAnalysisService.java:111)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance
    org.elasticsearch.common.inject.CreationException: Guice creation errors: