java.lang.NoClassDefFoundError: org/apache/spark/Logging

Stack Overflow | jsung8 | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    adam appassembler script required but does not run

    GitHub | 1 year ago | heuermh
    java.lang.NoClassDefFoundError: org/apache/spark/Logging
  2. 0

    Resource Editor out of Heap

    GitHub | 2 years ago | codenameone
    java.lang.NoClassDefFoundError: org/jdesktop/swingworker/SwingWorker
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error when trying to connect to a production cluster

    GitHub | 1 year ago | jlcalbre
    java.lang.NoClassDefFoundError: org/apache/spark/Logging
  5. 0

    Spark cluster computing framework

    gmane.org | 11 months ago
    java.lang.NoClassDefFoundError: org/apache/spark/Logging
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.spark.Logging

    at java.net.URLClassLoader.findClass()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4. java.lang.ClassLoader.defineClass1(Native Method)
    5. java.lang.ClassLoader.defineClass(ClassLoader.java:763)
    6. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    7. java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
    8. java.net.URLClassLoader.access$100(URLClassLoader.java:73)
    9. java.net.URLClassLoader$1.run(URLClassLoader.java:368)
    10. java.net.URLClassLoader$1.run(URLClassLoader.java:362)
    11. java.security.AccessController.doPrivileged(Native Method)
    12. java.net.URLClassLoader.findClass(URLClassLoader.java:361)
    13. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    14. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    14 frames
  3. Spark Project External Twitter
    TwitterUtils$.createStream
    1. org.apache.spark.streaming.twitter.TwitterUtils$.createStream(TwitterUtils.scala:44)
    1 frame
  4. Unknown
    TwitterStreamingApp.main
    1. TwitterStreamingApp$.main(TwitterStreamingApp.scala:42)
    2. TwitterStreamingApp.main(TwitterStreamingApp.scala)
    2 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  6. Spark
    SparkSubmit.main
    1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:729)
    2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:185)
    3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:210)
    4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:124)
    5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
    5 frames