java.lang.NoClassDefFoundError: jakarta/servlet/SingleThreadModel – Error while using apache spark 4.0-preview
We are trying to migrate our existing Spark analysis engine to Java 17 with Springboot 3.2.5. As I understand this requires a latest version of Spark (v4.0-preview). However, we are getting the above error while creating a SparkSesison object as shown below: