特牛网址导航

scala运行异常Exception in thread “main“ java.lang.NoSuchMethodError: scala.Predef$_scala遇到exception in thread "thread-1-CSDN博客

网友收藏
  • 链接地址:https://blog.csdn.net/dkdudus/article/details/124276879
  • 链接标题:scala运行异常Exception in thread “main“ java.lang.NoSuchMethodError: scala.Predef$_scala遇到exception in thread "thread-1-CSDN博客
  • 所属网站:blog.csdn.net
  • 被收藏次数:3867
文章浏览阅读1k次。使用intelli idea +scala+spark,运行程序代码如下:package big.data.analyse.mllibimport org.apache.spark.{SparkConf, SparkContext}import org.apache.spark.mllib.fpm.FPGrowthobject FP { def main(args: Array[String]) { val conf = new SparkConf().setMaster("local"_scala遇到exception in thread "thread-1