当前位置:网站首页>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>
边栏推荐
- (2022杭电多校四)1001-Link with Bracket Sequence II(区间动态规划)
- Web结题报告
- AWS 控制台
- NC | 西湖大学陶亮组-TMPRSS2“助攻”病毒感染并介导索氏梭菌出血毒素的宿主入侵...
- Critical Reviews | A review of the global distribution of antibiotics and resistance genes in farmland soil by Nannong Zou Jianwen's group
- OSPF详解(4)
- 延时队列优化 (2)
- 基于inquirer封装一个控制台文件选择器
- 毕业1年从事软件测试拿下11.5k,没有给98后丢脸吧...
- SwiftUI iOS Boutique Open Source Project Complete Baked Food Recipe App based on SQLite (tutorial including source code)
猜你喜欢
随机推荐
Basic use of scrapy
第4章 控制执行流程
Swiper rotates pictures and plays background music
Chapter 4 Controlling the Execution Flow
Redis for infrastructure
scrapy基本使用
Mysql执行原理剖析
A senior with 13 years of experience in software testing, summed up 5 test employment suggestions....
Delay queue optimization (2)
Read the "Language Model" in one article
What is the value of biomedical papers? How to translate the papers into Chinese and English?
Scrapy framework is introduced
6 yuan per catty, why do Japanese companies come to China to collect cigarette butts?
Critical Reviews | 南农邹建文组综述全球农田土壤抗生素与耐药基因分布
Quickly build an e-commerce platform based on Amazon cloud technology serverless service - performance
第14章 类型信息
【剑指 Offe】剑指 Offer 18. 删除链表的节点
ROS 节点初始化步骤、topic/service创建及使用
Codeblocks + Widgets create window code analysis
积性函数








