What Scala version should I use to compile/build with Spark 2.4.2? I tried with Scala 2.12 and got the below error message.
Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)[Ljava/lang/Object;
Any input is really appreciated
CodePudding user response:
Upon checking, 2.11.12 looks to be the scala version on EMR. It worked for us.