当前位置:网站首页>Spark学习:编译Spark项目时遇到的报错
Spark学习:编译Spark项目时遇到的报错
2022-07-30 18:45:00 【我爱夜来香A】
一、object SparkSession is not a member of package org.apache.spark.sql
解决方案:
SparkSession是spark-sql的一部分,需要在pom.xml中添加如下内容
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.12</artifactId>
<version>3.2.0</version>
</dependency>
边栏推荐
猜你喜欢
Meta元宇宙部门第二季度亏损28亿!仍要继续押注?元宇宙发展尚未看到出路!
A senior with 13 years of experience in software testing, summed up 5 test employment suggestions....
猎豹移动终于递交年报:年营收7.85亿 腾讯持股16.6%
Node encapsulates a console progress bar plugin
ctf.show_web5
6 yuan per catty, why do Japanese companies come to China to collect cigarette butts?
What is the value of biomedical papers? How to translate the papers into Chinese and English?
Swiper rotates pictures and plays background music
natural language processing nltk
基于inquirer封装一个控制台文件选择器
随机推荐
中集世联达飞瞳全球工业人工智能AI领军者,全球顶尖AI核心技术高泛化性高鲁棒性稀疏样本持续学习,工业级高性能成熟AI产品规模应用
WEBSOCKETPP使用简介+demo
博纳影通过IPO注册:阿里腾讯是股东 受疫情冲击明显
国轩高科瑞交所上市:募资近7亿美元 为瑞士今年最大融资项目
MySQL data types
NC | 西湖大学陶亮组-TMPRSS2“助攻”病毒感染并介导索氏梭菌出血毒素的宿主入侵...
使用postman调接口报Content type ‘text/plain;charset=UTF-8‘ not supported
【Swords Offer】Swords Offer 17. Print n digits from 1 to the largest
CMake库搜索函数居然不搜索LD_LIBRARY_PATH
Scrapy framework is introduced
Mongo for infrastructure
中集世联达工业级成熟航运港口人工智能AI产品规模化应用,打造新一代高效能智慧港口和创新数字港口,全球港航人工智能能领军者中集飞瞳
Pytorch基础--tensorboard使用(一)
不同的路径依赖
Read the "Language Model" in one article
运营 23 年,昔日“国内第一大电商网站”黄了...
3D机器视觉厂商的场景争夺战役
软件测试13年从业经验的前辈,总结的5条测试就业建议....
Codeblocks + Widgets create window code analysis
终端分屏工具Terminalx的使用