![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误总结
lj997_liang
努力!奋斗!
展开
-
idea spark编译出现error:object Apache is not a member of package org
在创建一个maven工程后将工程打成jar包时出现如下错误 再三确认pom.xml文件无误后,只能逐个排除问题,最后发现有可能是因为maven仓库的路径存在中文问题(因为默认安装在了user目录下,而我的用户名恰好是中文) 解决方法,复制 .m2文件 到没有空格没有中文的路径下,重新指定maven的仓库 好了成功解决。 ...原创 2019-09-14 20:25:35 · 7759 阅读 · 4 评论 -
spark编译出错:Error:(57, 131) value toDF is not a member of org.apache.spark.rdd.RDD[Person]
import org.apache.spark.{SparkConf, SparkContext} import org.apache.spark.sql.SparkSession object SparkDataSet { def main(args: Array[String]): Unit = { val conf = new SparkConf().setMaster("...原创 2019-09-18 15:52:12 · 1094 阅读 · 0 评论