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

Stack Overflow | Ted | 2 weeks ago
  1. 0

    Solr not loading a custom filter

    Stack Overflow | 5 years ago | Jithin
    org.apache.solr.common.SolrException: Error loading class 'org.custom.solr.analysis.MyKeepWordFilterFactory'
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    41 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.apache.lucene.analysis.synonym.SynonymFilter

      at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal()
    2. Eclipse OSGi
      BundleLoader.findClass
      1. org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
      2. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
      3. org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
      3 frames
    3. Eclipse OSGi
      DefaultClassLoader.loadClass
      1. org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
      1 frame
    4. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      1 frame
    5. Apache Solr Core
      CoreContainer.create
      1. org.apache.solr.analysis.SynonymFilterFactory.init(SynonymFilterFactory.java:31)
      2. org.apache.solr.schema.IndexSchema$6.init(IndexSchema.java:931)
      3. org.apache.solr.schema.IndexSchema$6.init(IndexSchema.java:923)
      4. org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:148)
      5. org.apache.solr.schema.IndexSchema.readAnalyzer(IndexSchema.java:941)
      6. org.apache.solr.schema.IndexSchema.access$100(IndexSchema.java:62)
      7. org.apache.solr.schema.IndexSchema$1.create(IndexSchema.java:445)
      8. org.apache.solr.schema.IndexSchema$1.create(IndexSchema.java:435)
      9. org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:140)
      10. org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:480)
      11. org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:125)
      12. org.apache.solr.core.CoreContainer.create(CoreContainer.java:461)
      12 frames
    6. org.eclipse.orion
      SearchActivator.start
      1. org.eclipse.orion.internal.server.search.SearchActivator.createServer(SearchActivator.java:101)
      2. org.eclipse.orion.internal.server.search.SearchActivator.start(SearchActivator.java:189)
      2 frames
    7. Eclipse OSGi
      BundleContextImpl$1.run
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
      1 frame
    8. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    9. Eclipse OSGi
      StartLevelManager.dispatchEvent
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
      2. org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
      3. org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
      4. org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
      5. org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
      6. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
      7. org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
      8. org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
      9. org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
      10. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
      11. org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
      11 frames
    10. Eclipse OSGi
      EventManager$EventThread.run
      1. org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
      2. org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      2 frames