Spark Submit fails with java.lang.NoSuchMethodError: scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;

后端 未结 2 681
被撕碎了的回忆
被撕碎了的回忆 2020-12-17 18:28

I am using spark 1.3.1 prebuild version spark-1.3.1-bin-hadoop2.6.tgz

Exception in thread \"main\" java.lang.NoSuchMethodError: scala.Predef$.$confo

2条回答
  •  一整个雨季
    2020-12-17 19:02

    i was experiencing same issue in scala IDE.and below steps resolved that.

    Note:-check compatibility as per your scala-spark. for me it is scala version - 2.11.* is compatible with spark 2.4.*

    Go the project >> right click >> properties >> scala compiler >> select "use project settings" option >> and change "scala installation" >> apply >> apply and close..... good to go.

    click on below image link to see setting of Scala IDE

提交回复
热议问题