Exception in thread main java.lang.NoClassDefFoundError: org.apache.spark.sql.SparkSession

在运行程序的过程当中报了A JNI error has occurred, please check your installation and try again错误,具体异常信息以下图所示:maven  从异常中看到是没法找到sparkSession类,可是我在maven中已经引入了该依赖,却依然出现异常,这个时候能够查看pom文件引入的依赖中scope标签中的内容,其中scope标签中对应的
相关文章
相关标签/搜索