You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package org.example;
import org.apache.spark.SparkConf;
import org.apache.spark.sql.SparkSession;
public class Main {
public static void main(String[] args) {
I use spark 3.5.1 and java8 and scala 2.13.8
When I run above program in Idea I get error "Exception in thread "main" java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: scala/Serializable"
Can some one help me? Thank you.
The text was updated successfully, but these errors were encountered:
My pom.xml is as following
My code is as following:
package org.example;
import org.apache.spark.SparkConf;
import org.apache.spark.sql.SparkSession;
public class Main {
public static void main(String[] args) {
}
I use spark 3.5.1 and java8 and scala 2.13.8
When I run above program in Idea I get error "Exception in thread "main" java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: scala/Serializable"
Can some one help me? Thank you.
The text was updated successfully, but these errors were encountered: