java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.codecs.Codec$Holder

Hot problem!
This exception has a lot of traffic. You can help 28 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via redhat.com by Unknown author, 10 months ago
Could not initialize class org.apache.lucene.codecs.Codec$Holder
via Stack Overflow by Wojciech533
, 4 months ago
java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.codecs.Codec$Holder
at org.apache.lucene.codecs.Codec.getDefault(Codec.java:140)
at org.apache.lucene.index.LiveIndexWriterConfig.(LiveIndexWriterConfig.java:120)
at org.apache.lucene.index.IndexWriterConfig.(IndexWriterConfig.java:140)
at org.python.pydev.shared_core.index.IndexApi.init(IndexApi.java:100)
at org.python.pydev.shared_core.index.IndexApi.(IndexApi.java:82)
at org.python.pydev.shared_core.index.IndexApi.(IndexApi.java:95)
at com.python.pydev.analysis.additionalinfo.ReferenceSearchesLucene.internalSearch(ReferenceSearchesLucene.java:157)
at com.python.pydev.analysis.additionalinfo.ReferenceSearchesLucene.search(ReferenceSearchesLucene.java:94)
at com.python.pydev.analysis.search_index.PySearchIndexQuery.run(PySearchIndexQuery.java:84)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.