java.lang.NoClassDefFoundError: org/apache/lucene/analysis/synonym/SynonymFilter


Solutions on the web

Solution icon of stackoverflow
org/apache/lucene/analysis/synonym/SynonymFilter

Stack trace

java.lang.NoClassDefFoundError: org/apache/lucene/analysis/synonym/SynonymFilter
	at org.apache.solr.analysis.SynonymFilterFactory.init(SynonymFilterFactory.java:31)
	at org.apache.solr.schema.IndexSchema$6.init(IndexSchema.java:931)
	at org.apache.solr.schema.IndexSchema$6.init(IndexSchema.java:923)
	at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:148)
	at org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java:941)
	at org.apache.solr.schema.IndexSchema.access$100(IndexSchema.java:62)
	at org.apache.solr.schema.IndexSchema$1.create(IndexSchema.java:445)
	at org.apache.solr.schema.IndexSchema$1.create(IndexSchema.java:435)
	at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:140)
	at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:480)
	at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:125)
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:461)
	at org.eclipse.orion.internal.server.search.SearchActivator.createServer(SearchActivator.java:101)
	at org.eclipse.orion.internal.server.search.SearchActivator.start(SearchActivator.java:189)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.ClassNotFoundException: org.apache.lucene.analysis.synonym.SynonymFilter
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 29 more

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

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
114 more bugmates