java.lang.NoClassDefFoundError: com/addthis/metrics/reporter/config/AbstractReporterConfig

tip

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

tip

Needs to add netty-transport-native-epoll with a OS classifier to the classpath, it's not included in netty-all

tip

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

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

  • GitHub comment 27#252107914
    via GitHub by stevenmccord
    ,
  • GitHub comment 1426#264708710
    via GitHub by nitinware
    ,
  • Building Apache Flume to use Solr 6 as a sink
    via by Unknown author,
  • NoClassDefFoundError while using spring aop
    via Stack Overflow by Jois
    ,
    • java.lang.NoClassDefFoundError: com/addthis/metrics/reporter/config/AbstractReporterConfig at java.lang.ClassLoader.defineClass1(Native Method)[na:1.8.0_102] at java.lang.ClassLoader.defineClass(ClassLoader.java:763)[na:1.8.0_102] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)[na:1.8.0_102] at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)[na:1.8.0_102] at java.net.URLClassLoader.access$100(URLClassLoader.java:73)[na:1.8.0_102] at java.net.URLClassLoader$1.run(URLClassLoader.java:368)[na:1.8.0_102] at java.net.URLClassLoader$1.run(URLClassLoader.java:362)[na:1.8.0_102] at java.security.AccessController.doPrivileged(Native Method)[na:1.8.0_102] at java.net.URLClassLoader.findClass(URLClassLoader.java:361)[na:1.8.0_102] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_102] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)[na:1.8.0_102] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_102] at org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:357)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:585)[apache-cassandra-3.7.jar:3.7] at org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:714)[apache-cassandra-3.7.jar:3.7] Caused by: java.lang.ClassNotFoundException: com.addthis.metrics.reporter.config.AbstractReporterConfig at java.net.URLClassLoader.findClass(URLClassLoader.java:381)[na:1.8.0_102] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)[na:1.8.0_102] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)[na:1.8.0_102] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[na:1.8.0_102] ... 15 more

    Users with the same issue

    arturgajowy
    arturgajowy1 times, last one,
    olle.hallin
    olle.hallin2 times, last one,
    batwalrus76
    batwalrus763 times, last one,
    rsprangemeijer
    rsprangemeijer1 times, last one,
    andyglick
    andyglick2 times, last one,
    1499 more bugmates