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

GitHub | Umair044 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 12#240027437

    GitHub | 8 months ago | Umair044
    java.lang.NoSuchMethodError: scala.reflect.api.JavaUniverse.runtimeMirror(Ljava/lang/ClassLoader;)Lscala/reflect/api/JavaUniverse$JavaMirror;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

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

      at org.apache.spark.sql.types.NativeType.<init>()
    2. org.apache.spark
      StringType$.<clinit>
      1. org.apache.spark.sql.types.NativeType.<init>(dataTypes.scala:335)
      2. org.apache.spark.sql.types.StringType.<init>(dataTypes.scala:348)
      3. org.apache.spark.sql.types.StringType$.<init>(dataTypes.scala:364)
      4. org.apache.spark.sql.types.StringType$.<clinit>(dataTypes.scala)
      4 frames