spark本地测试报错:java.lang.NoClassDefFoundError: org/apache/spark/sql/SparkSessio
spark maven项目本地测试报错:Error: A JNI error has occurred, please check your installation and try againException in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/sql/SparkSession原因是我在pom文件里引入的sparksql依赖加了<scope>prov