java.lang.NoSuchMethodError: scala.Predef$.$scope()Lscala/xml/TopScope$;

Stack Overflow | Victor | 3 months ago
  1. 0

    Java spark example runs wrong with error: java.lang.NoSuchMethodError: scala.Predef$.$scope()Lscala/xml/TopScope$

    Stack Overflow | 3 months ago | Victor
    java.lang.NoSuchMethodError: scala.Predef$.$scope()Lscala/xml/TopScope$;
  2. 0

    With the new Spark action, we should have a Spark example workflow that runs some Spark job.

    Apache's JIRA Issue Tracker | 2 years ago | Robert Kanter
    java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder;
  3. 0

    Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.$scope()Lscala/xml/TopScope$;

    Stack Overflow | 1 month ago | Imran Rahaman
    java.lang.NoSuchMethodError: scala.Predef$.$scope()Lscala/xml/TopScope$;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Scala dependency/artifact management

    Google Groups | 2 years ago | Simon Ochsenreither
    java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;
  6. 0

    GitHub comment 871#176432418

    GitHub | 12 months ago | ankushreddy
    java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;

  1. tyson925 1 times, last 5 months ago
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.NoSuchMethodError

    scala.Predef$.$scope()Lscala/xml/TopScope$;

    at org.apache.spark.ui.jobs.StagePage.<init>()
  2. Spark
    JavaSparkContext.<init>
    1. org.apache.spark.ui.jobs.StagePage.<init>(StagePage.scala:44)
    2. org.apache.spark.ui.jobs.StagesTab.<init>(StagesTab.scala:34)
    3. org.apache.spark.ui.SparkUI.<init>(SparkUI.scala:62)
    4. org.apache.spark.ui.SparkUI$.create(SparkUI.scala:215)
    5. org.apache.spark.ui.SparkUI$.createLiveUI(SparkUI.scala:157)
    6. org.apache.spark.SparkContext.<init>(SparkContext.scala:443)
    7. org.apache.spark.SparkContext.<init>(SparkContext.scala:149)
    8. org.apache.spark.SparkContext.<init>(SparkContext.scala:185)
    9. org.apache.spark.api.java.JavaSparkContext.<init>(JavaSparkContext.scala:92)
    9 frames
  3. com.spark.test
    WordCountTest.main
    1. com.spark.test.WordCountTest.main(WordCountTest.java:25)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  5. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
    1 frame