当前位置:网站首页>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>
边栏推荐
- while,do while,for循环语句
- LeetCode Exercise - Two Questions About Finding Sum of Array Elements
- 终端分屏工具Terminalx的使用
- nlohmann json 使用指南【visual studio 2022】
- kotlin by lazy
- Quickly build an e-commerce platform based on Amazon cloud technology serverless service - performance
- AWS 控制台
- OneFlow source code analysis: Op, Kernel and interpreter
- cocos creater 热更重启导致崩溃
- Go 系统收集
猜你喜欢

开心的聚餐

Graphic LeetCode -- 11. Containers of most water (difficulty: medium)

Recommendation | People who are kind to you, don't repay them by inviting them to eat

微信小程序云开发 | 城市信息管理

第十六期八股文巴拉巴拉说(MQ篇)

中集世联达飞瞳全球工业人工智能AI领军者,全球顶尖AI核心技术高泛化性高鲁棒性稀疏样本持续学习,工业级高性能成熟AI产品规模应用

CCNA-ACL(访问控制列表)标准ACL 扩展ACL 命名ACL

"Ruffian Heng Embedded Bimonthly" Issue 59

SwiftUI iOS 精品开源项目之 完整烘焙食品菜谱App基于SQLite(教程含源码)

The large-scale application of artificial intelligence AI products in industrial-grade mature shipping ports of CIMC World Lianda will create a new generation of high-efficiency smart ports and innova
随机推荐
LeetCode 练习——关于查找数组元素之和的两道题
积性函数
ESP8266-Arduino programming example-BMP180 air pressure temperature sensor driver
OSPF详解(3)
What kind of framework is friendly to developers?
ByteArrayInputStream class source code analysis
The use of @ symbol in MySql
NC | 西湖大学陶亮组-TMPRSS2“助攻”病毒感染并介导索氏梭菌出血毒素的宿主入侵...
荐号 | 对你有恩的人,不要请吃饭来报答
Basic use of scrapy
设计消息队列存储消息数据的 MySQL 表格
Scrapy framework is introduced
CCNA-网络汇总 超网(CIDR) 路由最长掩码匹配
ESP8266-Arduino编程实例-BMP180气压温度传感器驱动
怎么样的框架对于开发者是友好的?
高精度加法
Network Basics (3) 01-Basic Concepts of Networks - Protocols, Host Addresses, Paths and Parameters of URL Addresses & 127.0.0.1 Local Loopback Address & View URL IP Address and Access Ping Space + URL
开心的聚餐
卫星电话是直接与卫星通信还是通过地面站?
【PHPWord】PHPOffice 套件之PHPWord快速入门