java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.internal.config.package$

Stack Overflow | Cody | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    get quite a lot error when install spark

    Stack Overflow | 3 months ago | Cody
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.internal.config.package$
  2. 1

    Error in initializing SparkContext in iPython

    Stack Overflow | 2 years ago
    java.lang.NoClassDefFoundError: Could not initialize class org.apache.spark.deploy.SparkHadoopUtil$
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Spark-submit fails to import SparkContext

    Stack Overflow | 2 years ago | caleboverman
    java.io.FileNotFoundException: Added file file:test.py does not exist.
  5. 0

    file does not exist - spark submit

    Stack Overflow | 1 year ago | DamianFox
    java.io.FileNotFoundException: Added file file:/Project/MinimumFunction/optimize-spark.py does not exist.

    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.NoClassDefFoundError

      Could not initialize class org.apache.spark.internal.config.package$

      at org.apache.spark.SparkContext.<init>()
    2. Spark
      JavaSparkContext.<init>
      1. org.apache.spark.SparkContext.<init>(SparkContext.scala:397)
      2. org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:58)
      2 frames
    3. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:526)
      4 frames
    4. Py4J
      GatewayConnection.run
      1. py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:247)
      2. py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)
      3. py4j.Gateway.invoke(Gateway.java:236)
      4. py4j.commands.ConstructorCommand.invokeConstructor(ConstructorCommand.java:80)
      5. py4j.commands.ConstructorCommand.execute(ConstructorCommand.java:69)
      6. py4j.GatewayConnection.run(GatewayConnection.java:214)
      6 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame