# Could not initialize class org.elasticsearch.index.codec.postingsformat.PostingFormats

**URL:** <https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177>\
**Category:** Elasticsearch\
**Created:** [May 29, 2013, 7:27pm UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177 "2013-05-29T19:27:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin\_Verlangen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_verlangen/32/1542_2.png) [@Robin\_Verlangen](https://discuss.elastic.co/u/Robin_Verlangen)\
**Post date:** [May 29, 2013, 7:27pm UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177/1 "2013-05-29T19:27:36Z")

</div>

Hi there,

Is anyone familiar with this error? I'm experimenting with embedded ES  
server and client (within a single Java application).

org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:  
Failed execution  
at  
org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)  
at  
org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)  
at  
com.cloudpelican.backend.indexers.IndexerThread.\_executeBulk(IndexerThread.java:209)  
at  
com.cloudpelican.backend.indexers.IndexerThread.executeBulk(IndexerThread.java:171)  
at  
com.cloudpelican.backend.indexers.IndexerThread.access$200(IndexerThread.java:42)  
at  
com.cloudpelican.backend.indexers.IndexerThread$IndexerThreadFlusher.run(IndexerThread.java:282)  
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
at  
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)  
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)  
at  
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)  
at  
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)  
at  
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
at  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
at java.lang.Thread.run(Thread.java:679)  
_Caused by: java.lang.NoClassDefFoundError: Could not initialize class  
org.elasticsearch.index.codec.postingsformat.PostingFormats_  
at org.elasticsearch.index.codec.CodecModule.configure(CodecModule.java:118)  
at  
org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)  
at  
org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)  
at  
org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)  
at  
org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)  
at  
org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)  
at  
org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)  
at  
org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)  
at  
org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)  
at  
org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)  
at  
org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)  
at  
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)  
... 3 more

Best regards,

Robin Verlangen  
_Data Architect_  
\*  
\*  
W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
E robin@us2.nl

[http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
_What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_

Disclaimer: The information contained in this message and attachments is  
intended solely for the attention and use of the named addressee and may be  
confidential. If you are not the intended recipient, you are reminded that  
the information remains the property of the sender. You must not use,  
disclose, distribute, copy, print or rely on this e-mail. If you have  
received this message in error, please contact the sender immediately and  
irrevocably delete this message and any copies.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 29, 2013, 8:05pm UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177/2 "2013-05-29T20:05:14Z")

</div>

My bet is that you are mixing Elasticsearch with older Lucene version.  
Did you embed some plugins as well?  
Did you clean your webapp target folder first?

Check all libs embedded in your war and check also temp files on your container.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 29 mai 2013 à 21:27, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :

> Hi there,
> 
> Is anyone familiar with this error? I'm experimenting with embedded ES server and client (within a single Java application).
> 
> org.elasticsearch.common.util.concurrent.UncategorizedExecutionException: Failed execution  
> at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)  
> at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)  
> at com.cloudpelican.backend.indexers.IndexerThread.\_executeBulk(IndexerThread.java:209)  
> at com.cloudpelican.backend.indexers.IndexerThread.executeBulk(IndexerThread.java:171)  
> at com.cloudpelican.backend.indexers.IndexerThread.access$200(IndexerThread.java:42)  
> at com.cloudpelican.backend.indexers.IndexerThread$IndexerThreadFlusher.run(IndexerThread.java:282)  
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
> at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)  
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)  
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)  
> at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)  
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:679)  
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.index.codec.postingsformat.PostingFormats  
> at org.elasticsearch.index.codec.CodecModule.configure(CodecModule.java:118)  
> at org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)  
> at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)  
> at org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)  
> at org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)  
> at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)  
> at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)  
> at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)  
> at org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)  
> at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)  
> at org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)  
> at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)  
> ... 3 more
> 
> Best regards,
> 
> Robin Verlangen  
> Data Architect
> 
> W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> E robin@us2.nl
> 
> What is CloudPelican?
> 
> Disclaimer: The information contained in this message and attachments is intended solely for the attention and use of the named addressee and may be confidential. If you are not the intended recipient, you are reminded that the information remains the property of the sender. You must not use, disclose, distribute, copy, print or rely on this e-mail. If you have received this message in error, please contact the sender immediately and irrevocably delete this message and any copies.
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Robin\_Verlangen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_verlangen/32/1542_2.png) [@Robin\_Verlangen](https://discuss.elastic.co/u/Robin_Verlangen)\
**Post date:** [May 29, 2013, 8:09pm UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177/3 "2013-05-29T20:09:06Z")

</div>

Hi David,

I use maven for packaging and have the ES 0.90.0 dependency added. The rest  
looks like this:

[image: Inline image 1]

Best regards,

Robin Verlangen  
_Data Architect_  
\*  
\*  
W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
E robin@us2.nl

[http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
_What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_

Disclaimer: The information contained in this message and attachments is  
intended solely for the attention and use of the named addressee and may be  
confidential. If you are not the intended recipient, you are reminded that  
the information remains the property of the sender. You must not use,  
disclose, distribute, copy, print or rely on this e-mail. If you have  
received this message in error, please contact the sender immediately and  
irrevocably delete this message and any copies.

On Wed, May 29, 2013 at 10:05 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> My bet is that you are mixing Elasticsearch with older Lucene version.  
> Did you embed some plugins as well?  
> Did you clean your webapp target folder first?
> 
> Check all libs embedded in your war and check also temp files on your  
> container.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 29 mai 2013 à 21:27, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :
> 
> Hi there,
> 
> Is anyone familiar with this error? I'm experimenting with embedded ES  
> server and client (within a single Java application).
> 
> org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:  
> Failed execution  
> at  
> org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)  
> at  
> org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)  
> at  
> com.cloudpelican.backend.indexers.IndexerThread.\_executeBulk(IndexerThread.java:209)  
> at  
> com.cloudpelican.backend.indexers.IndexerThread.executeBulk(IndexerThread.java:171)  
> at  
> com.cloudpelican.backend.indexers.IndexerThread.access$200(IndexerThread.java:42)  
> at  
> com.cloudpelican.backend.indexers.IndexerThread$IndexerThreadFlusher.run(IndexerThread.java:282)  
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
> at  
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)  
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)  
> at  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)  
> at  
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)  
> at  
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> at  
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> at java.lang.Thread.run(Thread.java:679)  
> _Caused by: java.lang.NoClassDefFoundError: Could not initialize class  
> org.elasticsearch.index.codec.postingsformat.PostingFormats_  
> at  
> org.elasticsearch.index.codec.CodecModule.configure(CodecModule.java:118)  
> at  
> org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)  
> at  
> org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)  
> at  
> org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)  
> at  
> org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)  
> at  
> org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)  
> at  
> org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)  
> at  
> org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)  
> at  
> org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)  
> at  
> org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)  
> at  
> org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)  
> at  
> org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)  
> ... 3 more
> 
> Best regards,
> 
> Robin Verlangen  
> _Data Architect_  
> \*  
> \*  
> W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> E robin@us2.nl
> 
> [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> 
> Disclaimer: The information contained in this message and attachments is  
> intended solely for the attention and use of the named addressee and may be  
> confidential. If you are not the intended recipient, you are reminded that  
> the information remains the property of the sender. You must not use,  
> disclose, distribute, copy, print or rely on this e-mail. If you have  
> received this message in error, please contact the sender immediately and  
> irrevocably delete this message and any copies.
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 29, 2013, 8:10pm UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177/4 "2013-05-29T20:10:22Z")

</div>

Did you clean everything before building your war?  
I assume that you migrate from 0.20 to 0.90, don't you?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr | @scrutmydocs

Le 29 mai 2013 à 22:09, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :

> Hi David,
> 
> I use maven for packaging and have the ES 0.90.0 dependency added. The rest looks like this:
> 
> \<image.png\>
> 
> Best regards,
> 
> Robin Verlangen  
> Data Architect
> 
> W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> E robin@us2.nl
> 
> What is CloudPelican?
> 
> Disclaimer: The information contained in this message and attachments is intended solely for the attention and use of the named addressee and may be confidential. If you are not the intended recipient, you are reminded that the information remains the property of the sender. You must not use, disclose, distribute, copy, print or rely on this e-mail. If you have received this message in error, please contact the sender immediately and irrevocably delete this message and any copies.
> 
> On Wed, May 29, 2013 at 10:05 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:  
> My bet is that you are mixing Elasticsearch with older Lucene version.  
> Did you embed some plugins as well?  
> Did you clean your webapp target folder first?
> 
> Check all libs embedded in your war and check also temp files on your container.
> 
> --  
> David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
> @dadoonet | @elasticsearchfr | @scrutmydocs
> 
> Le 29 mai 2013 à 21:27, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :
> 
> > Hi there,
> > 
> > Is anyone familiar with this error? I'm experimenting with embedded ES server and client (within a single Java application).
> > 
> > org.elasticsearch.common.util.concurrent.UncategorizedExecutionException: Failed execution  
> > at org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)  
> > at org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)  
> > at com.cloudpelican.backend.indexers.IndexerThread.\_executeBulk(IndexerThread.java:209)  
> > at com.cloudpelican.backend.indexers.IndexerThread.executeBulk(IndexerThread.java:171)  
> > at com.cloudpelican.backend.indexers.IndexerThread.access$200(IndexerThread.java:42)  
> > at com.cloudpelican.backend.indexers.IndexerThread$IndexerThreadFlusher.run(IndexerThread.java:282)  
> > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
> > at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)  
> > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)  
> > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)  
> > at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)  
> > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> > at java.lang.Thread.run(Thread.java:679)  
> > Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.elasticsearch.index.codec.postingsformat.PostingFormats  
> > at org.elasticsearch.index.codec.CodecModule.configure(CodecModule.java:118)  
> > at org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)  
> > at org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)  
> > at org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)  
> > at org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)  
> > at org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)  
> > at org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)  
> > at org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)  
> > at org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)  
> > at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)  
> > at org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)  
> > at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)  
> > ... 3 more
> > 
> > Best regards,
> > 
> > Robin Verlangen  
> > Data Architect
> > 
> > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > E robin@us2.nl
> > 
> > What is CloudPelican?
> > 
> > Disclaimer: The information contained in this message and attachments is intended solely for the attention and use of the named addressee and may be confidential. If you are not the intended recipient, you are reminded that the information remains the property of the sender. You must not use, disclose, distribute, copy, print or rely on this e-mail. If you have received this message in error, please contact the sender immediately and irrevocably delete this message and any copies.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Robin\_Verlangen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_verlangen/32/1542_2.png) [@Robin\_Verlangen](https://discuss.elastic.co/u/Robin_Verlangen)\
**Post date:** [May 29, 2013, 8:21pm UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177/5 "2013-05-29T20:21:42Z")

</div>

Yes, I have cleaned everything that I'm aware of.  
Might this be caused by the fact that everything is packaged into a single  
JAR with the maven-assembly-plugin?

Best regards,

Robin Verlangen  
_Data Architect_  
\*  
\*  
W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
E robin@us2.nl

[http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
_What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_

Disclaimer: The information contained in this message and attachments is  
intended solely for the attention and use of the named addressee and may be  
confidential. If you are not the intended recipient, you are reminded that  
the information remains the property of the sender. You must not use,  
disclose, distribute, copy, print or rely on this e-mail. If you have  
received this message in error, please contact the sender immediately and  
irrevocably delete this message and any copies.

On Wed, May 29, 2013 at 10:10 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:

> Did you clean everything before building your war?  
> I assume that you migrate from 0.20 to 0.90, don't you?
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 29 mai 2013 à 22:09, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :
> 
> Hi David,
> 
> I use maven for packaging and have the ES 0.90.0 dependency added. The  
> rest looks like this:
> 
> \<image.png\>
> 
> Best regards,
> 
> Robin Verlangen  
> _Data Architect_  
> \*  
> \*  
> W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> E robin@us2.nl
> 
> [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> 
> Disclaimer: The information contained in this message and attachments is  
> intended solely for the attention and use of the named addressee and may be  
> confidential. If you are not the intended recipient, you are reminded that  
> the information remains the property of the sender. You must not use,  
> disclose, distribute, copy, print or rely on this e-mail. If you have  
> received this message in error, please contact the sender immediately and  
> irrevocably delete this message and any copies.
> 
> On Wed, May 29, 2013 at 10:05 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > My bet is that you are mixing Elasticsearch with older Lucene version.  
> > Did you embed some plugins as well?  
> > Did you clean your webapp target folder first?
> > 
> > Check all libs embedded in your war and check also temp files on your  
> > container.
> > 
> > --  
> > _David Pilato_ | _Technical Advocate_ | \*[Elasticsearch.com](http://Elasticsearch.com)[http://elasticsearch.com/](http://elasticsearch.com/)  
> > \*  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > 
> > Le 29 mai 2013 à 21:27, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :
> > 
> > Hi there,
> > 
> > Is anyone familiar with this error? I'm experimenting with embedded ES  
> > server and client (within a single Java application).
> > 
> > org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:  
> > Failed execution  
> > at  
> > org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)  
> > at  
> > org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)  
> > at  
> > com.cloudpelican.backend.indexers.IndexerThread.\_executeBulk(IndexerThread.java:209)  
> > at  
> > com.cloudpelican.backend.indexers.IndexerThread.executeBulk(IndexerThread.java:171)  
> > at  
> > com.cloudpelican.backend.indexers.IndexerThread.access$200(IndexerThread.java:42)  
> > at  
> > com.cloudpelican.backend.indexers.IndexerThread$IndexerThreadFlusher.run(IndexerThread.java:282)  
> > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
> > at  
> > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)  
> > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)  
> > at  
> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)  
> > at  
> > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > at  
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> > at java.lang.Thread.run(Thread.java:679)  
> > _Caused by: java.lang.NoClassDefFoundError: Could not initialize class  
> > org.elasticsearch.index.codec.postingsformat.PostingFormats_  
> > at  
> > org.elasticsearch.index.codec.CodecModule.configure(CodecModule.java:118)  
> > at  
> > org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)  
> > at  
> > org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)  
> > at  
> > org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)  
> > at  
> > org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)  
> > at  
> > org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)  
> > at  
> > org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)  
> > at  
> > org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)  
> > at  
> > org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)  
> > at  
> > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)  
> > at  
> > org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)  
> > at  
> > org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)  
> > ... 3 more
> > 
> > Best regards,
> > 
> > Robin Verlangen  
> > _Data Architect_  
> > \*  
> > \*  
> > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > E robin@us2.nl
> > 
> > [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> > _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> > 
> > Disclaimer: The information contained in this message and attachments is  
> > intended solely for the attention and use of the named addressee and may be  
> > confidential. If you are not the intended recipient, you are reminded that  
> > the information remains the property of the sender. You must not use,  
> > disclose, distribute, copy, print or rely on this e-mail. If you have  
> > received this message in error, please contact the sender immediately and  
> > irrevocably delete this message and any copies.
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Robin\_Verlangen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_verlangen/32/1542_2.png) [@Robin\_Verlangen](https://discuss.elastic.co/u/Robin_Verlangen)\
**Post date:** [May 29, 2013, 8:30pm UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177/6 "2013-05-29T20:30:22Z")

</div>

I quickly tried a build that puts the dependency jars into a separate lib/  
folder, instead of putting it inside the "uberjar". This seems to work.

Do you think this is an issue caused by my packaging, or maybe something in  
elasticsearch that doesn't work as expected?

Best regards,

Robin Verlangen  
_Data Architect_  
\*  
\*  
W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
E robin@us2.nl

[http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
_What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_

Disclaimer: The information contained in this message and attachments is  
intended solely for the attention and use of the named addressee and may be  
confidential. If you are not the intended recipient, you are reminded that  
the information remains the property of the sender. You must not use,  
disclose, distribute, copy, print or rely on this e-mail. If you have  
received this message in error, please contact the sender immediately and  
irrevocably delete this message and any copies.

On Wed, May 29, 2013 at 10:21 PM, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) wrote:

> Yes, I have cleaned everything that I'm aware of.  
> Might this be caused by the fact that everything is packaged into a single  
> JAR with the maven-assembly-plugin?
> 
> Best regards,
> 
> Robin Verlangen  
> _Data Architect_  
> \*  
> \*  
> W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> E robin@us2.nl
> 
> [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> 
> Disclaimer: The information contained in this message and attachments is  
> intended solely for the attention and use of the named addressee and may be  
> confidential. If you are not the intended recipient, you are reminded that  
> the information remains the property of the sender. You must not use,  
> disclose, distribute, copy, print or rely on this e-mail. If you have  
> received this message in error, please contact the sender immediately and  
> irrevocably delete this message and any copies.
> 
> On Wed, May 29, 2013 at 10:10 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> 
> > Did you clean everything before building your war?  
> > I assume that you migrate from 0.20 to 0.90, don't you?
> > 
> > --  
> > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > 
> > Le 29 mai 2013 à 22:09, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :
> > 
> > Hi David,
> > 
> > I use maven for packaging and have the ES 0.90.0 dependency added. The  
> > rest looks like this:
> > 
> > \<image.png\>
> > 
> > Best regards,
> > 
> > Robin Verlangen  
> > _Data Architect_  
> > \*  
> > \*  
> > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > E robin@us2.nl
> > 
> > [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> > _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> > 
> > Disclaimer: The information contained in this message and attachments is  
> > intended solely for the attention and use of the named addressee and may be  
> > confidential. If you are not the intended recipient, you are reminded that  
> > the information remains the property of the sender. You must not use,  
> > disclose, distribute, copy, print or rely on this e-mail. If you have  
> > received this message in error, please contact the sender immediately and  
> > irrevocably delete this message and any copies.
> > 
> > On Wed, May 29, 2013 at 10:05 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > My bet is that you are mixing Elasticsearch with older Lucene version.  
> > > Did you embed some plugins as well?  
> > > Did you clean your webapp target folder first?
> > > 
> > > Check all libs embedded in your war and check also temp files on your  
> > > container.
> > > 
> > > --  
> > > _David Pilato_ | _Technical Advocate_ | \*[Elasticsearch.com](http://Elasticsearch.com)[http://elasticsearch.com/](http://elasticsearch.com/)  
> > > \*  
> > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > > 
> > > Le 29 mai 2013 à 21:27, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :
> > > 
> > > Hi there,
> > > 
> > > Is anyone familiar with this error? I'm experimenting with embedded ES  
> > > server and client (within a single Java application).
> > > 
> > > org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:  
> > > Failed execution  
> > > at  
> > > org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)  
> > > at  
> > > org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)  
> > > at  
> > > com.cloudpelican.backend.indexers.IndexerThread.\_executeBulk(IndexerThread.java:209)  
> > > at  
> > > com.cloudpelican.backend.indexers.IndexerThread.executeBulk(IndexerThread.java:171)  
> > > at  
> > > com.cloudpelican.backend.indexers.IndexerThread.access$200(IndexerThread.java:42)  
> > > at  
> > > com.cloudpelican.backend.indexers.IndexerThread$IndexerThreadFlusher.run(IndexerThread.java:282)  
> > > at  
> > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
> > > at  
> > > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)  
> > > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)  
> > > at  
> > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)  
> > > at  
> > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)  
> > > at  
> > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > > at  
> > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> > > at java.lang.Thread.run(Thread.java:679)  
> > > _Caused by: java.lang.NoClassDefFoundError: Could not initialize class  
> > > org.elasticsearch.index.codec.postingsformat.PostingFormats_  
> > > at  
> > > org.elasticsearch.index.codec.CodecModule.configure(CodecModule.java:118)  
> > > at  
> > > org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)  
> > > at  
> > > org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)  
> > > at  
> > > org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)  
> > > at  
> > > org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)  
> > > at  
> > > org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)  
> > > at  
> > > org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)  
> > > at  
> > > org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)  
> > > at  
> > > org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)  
> > > at  
> > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)  
> > > at  
> > > org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)  
> > > at  
> > > org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)  
> > > ... 3 more
> > > 
> > > Best regards,
> > > 
> > > Robin Verlangen  
> > > _Data Architect_  
> > > \*  
> > > \*  
> > > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > > E robin@us2.nl
> > > 
> > > [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> > > _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> > > 
> > > Disclaimer: The information contained in this message and attachments is  
> > > intended solely for the attention and use of the named addressee and may be  
> > > confidential. If you are not the intended recipient, you are reminded that  
> > > the information remains the property of the sender. You must not use,  
> > > disclose, distribute, copy, print or rely on this e-mail. If you have  
> > > received this message in error, please contact the sender immediately and  
> > > irrevocably delete this message and any copies.
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [May 30, 2013, 7:07am UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177/7 "2013-05-30T07:07:01Z")

</div>

Hey,

what special kind of packaging are you doing? Just building an uberjar?

--Alex

On Wed, May 29, 2013 at 10:30 PM, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) wrote:

> I quickly tried a build that puts the dependency jars into a separate lib/  
> folder, instead of putting it inside the "uberjar". This seems to work.
> 
> Do you think this is an issue caused by my packaging, or maybe something  
> in elasticsearch that doesn't work as expected?
> 
> Best regards,
> 
> Robin Verlangen  
> _Data Architect_  
> \*  
> \*  
> W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> E robin@us2.nl
> 
> [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> 
> Disclaimer: The information contained in this message and attachments is  
> intended solely for the attention and use of the named addressee and may be  
> confidential. If you are not the intended recipient, you are reminded that  
> the information remains the property of the sender. You must not use,  
> disclose, distribute, copy, print or rely on this e-mail. If you have  
> received this message in error, please contact the sender immediately and  
> irrevocably delete this message and any copies.
> 
> On Wed, May 29, 2013 at 10:21 PM, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) wrote:
> 
> > Yes, I have cleaned everything that I'm aware of.  
> > Might this be caused by the fact that everything is packaged into a  
> > single JAR with the maven-assembly-plugin?
> > 
> > Best regards,
> > 
> > Robin Verlangen  
> > _Data Architect_  
> > \*  
> > \*  
> > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > E robin@us2.nl
> > 
> > [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> > _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> > 
> > Disclaimer: The information contained in this message and attachments is  
> > intended solely for the attention and use of the named addressee and may be  
> > confidential. If you are not the intended recipient, you are reminded that  
> > the information remains the property of the sender. You must not use,  
> > disclose, distribute, copy, print or rely on this e-mail. If you have  
> > received this message in error, please contact the sender immediately and  
> > irrevocably delete this message and any copies.
> > 
> > On Wed, May 29, 2013 at 10:10 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > 
> > > Did you clean everything before building your war?  
> > > I assume that you migrate from 0.20 to 0.90, don't you?
> > > 
> > > --  
> > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > > 
> > > Le 29 mai 2013 à 22:09, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :
> > > 
> > > Hi David,
> > > 
> > > I use maven for packaging and have the ES 0.90.0 dependency added. The  
> > > rest looks like this:
> > > 
> > > \<image.png\>
> > > 
> > > Best regards,
> > > 
> > > Robin Verlangen  
> > > _Data Architect_  
> > > \*  
> > > \*  
> > > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > > E robin@us2.nl
> > > 
> > > [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> > > _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> > > 
> > > Disclaimer: The information contained in this message and attachments is  
> > > intended solely for the attention and use of the named addressee and may be  
> > > confidential. If you are not the intended recipient, you are reminded that  
> > > the information remains the property of the sender. You must not use,  
> > > disclose, distribute, copy, print or rely on this e-mail. If you have  
> > > received this message in error, please contact the sender immediately and  
> > > irrevocably delete this message and any copies.
> > > 
> > > On Wed, May 29, 2013 at 10:05 PM, David Pilato [david@pilato.fr](mailto:david@pilato.fr) wrote:
> > > 
> > > > My bet is that you are mixing Elasticsearch with older Lucene version.  
> > > > Did you embed some plugins as well?  
> > > > Did you clean your webapp target folder first?
> > > > 
> > > > Check all libs embedded in your war and check also temp files on your  
> > > > container.
> > > > 
> > > > --  
> > > > _David Pilato_ | _Technical Advocate_ | \*[Elasticsearch.com](http://Elasticsearch.com)[http://elasticsearch.com/](http://elasticsearch.com/)  
> > > > \*  
> > > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)  
> > > > | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > > > 
> > > > Le 29 mai 2013 à 21:27, Robin Verlangen [robin@us2.nl](mailto:robin@us2.nl) a écrit :
> > > > 
> > > > Hi there,
> > > > 
> > > > Is anyone familiar with this error? I'm experimenting with embedded ES  
> > > > server and client (within a single Java application).
> > > > 
> > > > org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:  
> > > > Failed execution  
> > > > at  
> > > > org.elasticsearch.action.support.AdapterActionFuture.rethrowExecutionException(AdapterActionFuture.java:88)  
> > > > at  
> > > > org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:49)  
> > > > at  
> > > > com.cloudpelican.backend.indexers.IndexerThread.\_executeBulk(IndexerThread.java:209)  
> > > > at  
> > > > com.cloudpelican.backend.indexers.IndexerThread.executeBulk(IndexerThread.java:171)  
> > > > at  
> > > > com.cloudpelican.backend.indexers.IndexerThread.access$200(IndexerThread.java:42)  
> > > > at  
> > > > com.cloudpelican.backend.indexers.IndexerThread$IndexerThreadFlusher.run(IndexerThread.java:282)  
> > > > at  
> > > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)  
> > > > at  
> > > > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)  
> > > > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)  
> > > > at  
> > > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)  
> > > > at  
> > > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)  
> > > > at  
> > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)  
> > > > at  
> > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)  
> > > > at java.lang.Thread.run(Thread.java:679)  
> > > > _Caused by: java.lang.NoClassDefFoundError: Could not initialize class  
> > > > org.elasticsearch.index.codec.postingsformat.PostingFormats_  
> > > > at  
> > > > org.elasticsearch.index.codec.CodecModule.configure(CodecModule.java:118)  
> > > > at  
> > > > org.elasticsearch.common.inject.AbstractModule.configure(AbstractModule.java:60)  
> > > > at  
> > > > org.elasticsearch.common.inject.spi.Elements$RecordingBinder.install(Elements.java:201)  
> > > > at  
> > > > org.elasticsearch.common.inject.spi.Elements.getElements(Elements.java:82)  
> > > > at  
> > > > org.elasticsearch.common.inject.InjectorShell$Builder.build(InjectorShell.java:130)  
> > > > at  
> > > > org.elasticsearch.common.inject.InjectorBuilder.build(InjectorBuilder.java:99)  
> > > > at  
> > > > org.elasticsearch.common.inject.InjectorImpl.createChildInjector(InjectorImpl.java:129)  
> > > > at  
> > > > org.elasticsearch.common.inject.ModulesBuilder.createChildInjector(ModulesBuilder.java:66)  
> > > > at  
> > > > org.elasticsearch.indices.InternalIndicesService.createIndex(InternalIndicesService.java:380)  
> > > > at  
> > > > org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:263)  
> > > > at  
> > > > org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:229)  
> > > > at  
> > > > org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:95)  
> > > > ... 3 more
> > > > 
> > > > Best regards,
> > > > 
> > > > Robin Verlangen  
> > > > _Data Architect_  
> > > > \*  
> > > > \*  
> > > > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > > > E robin@us2.nl
> > > > 
> > > > [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)  
> > > > _What is CloudPelican? [http://goo.gl/HkB3D](http://goo.gl/HkB3D)_
> > > > 
> > > > Disclaimer: The information contained in this message and attachments  
> > > > is intended solely for the attention and use of the named addressee and may  
> > > > be confidential. If you are not the intended recipient, you are reminded  
> > > > that the information remains the property of the sender. You must not use,  
> > > > disclose, distribute, copy, print or rely on this e-mail. If you have  
> > > > received this message in error, please contact the sender immediately and  
> > > > irrevocably delete this message and any copies.
> > > > 
> > > > --  
> > > > You received this message because you are subscribed to the Google  
> > > > Groups "elasticsearch" group.  
> > > > To unsubscribe from this group and stop receiving emails from it, send  
> > > > an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:33am UTC](https://discuss.elastic.co/t/could-not-initialize-class-org-elasticsearch-index-codec-postingsformat-postingformats/12177/8 "2017-07-06T02:33:58Z")

</div>


