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 24 users by writing a short tip.

Solutions on the web2

Solution icon of web
Could not initialize class org.apache.lucene.codecs.Codec$Holder

Solution icon of stackoverflow
Could not initialize class org.apache.lucene.codecs.Codec$Holder<br/>

Stack trace

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.<init>(LiveIndexWriterConfig.java:120)
	at org.apache.lucene.index.IndexWriterConfig.<init>(IndexWriterConfig.java:140)
	at org.python.pydev.shared_core.index.IndexApi.init(IndexApi.java:100)
	at org.python.pydev.shared_core.index.IndexApi.<init>(IndexApi.java:82)
	at org.python.pydev.shared_core.index.IndexApi.<init>(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)
	at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:92)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.