java.lang.ClassNotFoundException: spark.example.Main

Stack Overflow | manuel mourato | 8 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 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}"
  2. 0

    spark-submit ClassNotFound Exception with Maven

    Stack Overflow | 8 months ago | manuel mourato
    java.lang.ClassNotFoundException: spark.example.Main
  3. 0

    Error in spark-submit but not in pyspark

    Stack Overflow | 4 months ago | nanounanue
    java.lang.IllegalArgumentException: Error while instantiating 'org.apache.spark.sql.hive.HiveSessionState':
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error Compile build-all.sh HiBench with Spark 1.6.2

    GitHub | 9 months ago | chencaijin
    java.lang.ClassNotFoundException: com.intel.sparkbench.wordcount.ScalaWordCount
  6. 0

    GitHub comment 103#212844525

    GitHub | 1 year ago | thesamet
    java.lang.ClassNotFoundException: cakeproto.affiliates.Affiliate.PaymentType

  1. osvzs 1 times, last 6 days ago
  2. jf-ast 3 times, last 2 weeks ago
  3. jokester 3 times, last 2 weeks ago
  4. jstrayer 3 times, last 3 weeks ago
  5. Andreas Häber 1 times, last 4 weeks ago
66 more registered users
29 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

    spark.example.Main

    at java.net.URLClassLoader.findClass()
  2. Java RT
    Class.forName
    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.Class.forName0(Native Method)
    5. java.lang.Class.forName(Class.java:348)
    5 frames
  3. Spark
    Utils$.classForName
    1. org.apache.spark.util.Utils$.classForName(Utils.scala:175)
    1 frame