java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;

Stack Overflow | user155489 | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0

    scala spark version mismatch

    Stack Overflow | 2 months ago | user155489
    java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;
  2. 0

    NoSuchMethodError when using Sparka and IntelliJ

    Stack Overflow | 3 months ago | lars
    java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;
  3. 0

    Error in running Spark-Scala example in intellij

    Stack Overflow | 3 months ago | ahoora
    java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    executing spark scala code error using idea

    Stack Overflow | 2 months ago | chandler
    java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;
  6. 0
    samebug tip
    You're using incompatible versions of Scala and ScalaTest. If you're using Scala 2.11.x you should use ScalaTest 2.11. You can add this libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % "test" to build definitions to avoid this issue.

    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$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;

      at org.apache.spark.util.Utils$.getCallSite()
    2. Spark
      Utils$.getCallSite
      1. org.apache.spark.util.Utils$.getCallSite(Utils.scala:1406)
      1 frame