java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer

Stack Overflow | Tom Kealy | 11 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k
  2. 0

    Setting $CLASSPATH for Lucene Mac

    Stack Overflow | 11 months ago | Tom Kealy
    java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer
  3. 0

    Lucene ClassNotFoundError when loading analyzer

    Stack Overflow | 3 years ago | user2517984
    java.lang.NoClassDefFoundError: org/apache/lucene/analysis/Analyzer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    On osx in case umongo.app does not work, it is not possible to open from the command line

    GitHub | 4 years ago | agirbal
    java.lang.NoClassDefFoundError: com/edgytech/swingfast/Application
  6. 0

    Using cassandra

    GitHub | 11 months ago | renderit
    java.lang.NoClassDefFoundError: backtype/storm/topology/IRichSpout

  1. rsprangemeijer 1 times, last 5 days ago
  2. Nikolay Rybak 2 times, last 1 month ago
  3. mauritius 1 times, last 5 months ago
  4. r1chjames 2 times, last 5 months ago
  5. Kialandei 3 times, last 6 months ago
1 more registered users
85 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.Analyzer

    at java.net.URLClassLoader.findClass()
  2. Java RT
    LauncherHelper.checkAndLoadMain
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    5. java.lang.Class.getDeclaredMethods0(Native Method)
    6. java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    7. java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    8. java.lang.Class.getMethod0(Class.java:3018)
    9. java.lang.Class.getMethod(Class.java:1784)
    10. sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
    11. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
    11 frames