你好,游客 登录
背景:
阅读新闻

Scala IDEA开发报错:Disconnected from the target VM

[日期:2018-09-15] 来源:csdn  作者: [字体: ]
Disconnected from the target VM, address: '127.0.0.1:63201', transport: 'socket'
Exception in thread "main" java.lang.NoSuchMethodError: scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/mutable/ArrayOps;
    at org.apache.spark.util.Utils$.getCallSite(Utils.scala:1434)
    at org.apache.spark.SparkContext.<init>(SparkContext.scala:76)
    at cn.spark.WordCount$.main(WordCount.scala:24)
    at cn.spark.WordCount.main(WordCount.scala)

Process finished with exit code 1

是因为这里写图片描述
这里面配置的版本和本机的不一样造成的

收藏 推荐 打印 | 阅读: