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


Solutions on the web5410

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

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

Solution icon of stackoverflow
via Stack Overflow by neversion
, 1 year ago
Could not initialize class org.apache.lucene.codecs.Codec

Solution icon of jenkins
via Jenkins JIRA by Sven Ackermann, 11 months ago
Could not initialize class de.agilecoders.wicket.webjars.util.WebjarsVersion$Holder

Solution icon of web
Could not initialize class org.jetbrains.jps.incremental.BuilderRegistry$Holder

Solution icon of googlegroups
via Google Groups by svenre...@gmail.com (JIRA), 11 months ago
Could not initialize class de.agilecoders.wicket.webjars.util.WebjarsVersion$Holder

Solution icon of stackoverflow
Could not initialize class mypkg. SingletonHolder$Holder

Solution icon of stackoverflow
via Stack Overflow by kadsank
, 6 months ago
Could not initialize class org.apache.ignite.sink.flink.IgniteSink$SinkContext$Holder

Solution icon of github
via GitHub by KronicDeth
, 1 year ago
Could not initialize class org.jetbrains.jps.incremental.BuilderRegistry$Holder

Solution icon of googlegroups
via Google Groups by Stoat via StackOverflow, 7 months ago
Could not initialize class

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.