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

Stack Overflow | Fleur | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Spark Naive Bayes Model - No such method error

    Stack Overflow | 6 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