java.lang.NoSuchMethodError: scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaMirrors$JavaMirror;

Stack Overflow | Fleur | 4 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

    Spark Naive Bayes Model - No such method error

    Stack Overflow | 4 months ago | Fleur
    java.lang.NoSuchMethodError: scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaMirrors$JavaMirror;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaMirrors$JavaMirror;

      at org.apache.spark.mllib.classification.NaiveBayesModel$SaveLoadV2_0$.save()
    2. Spark Project ML Library
      NaiveBayesModel.save
      1. org.apache.spark.mllib.classification.NaiveBayesModel$SaveLoadV2_0$.save(NaiveBayes.scala:205)
      2. org.apache.spark.mllib.classification.NaiveBayesModel.save(NaiveBayes.scala:170)
      2 frames
    3. Unknown
      AppMain.main
      1. AppMain.main(AppMain.java:42)
      1 frame