it is likely related to a version mismatch or improper configuration between Java, Scala, and Spark.
The primary cause of your issue is likely the usage of Java 17, which is not compatible with Spark 3.4.4. By downgrading to Java 11 and ensuring the correct versions of Scala, Spark, and Hadoop, you should resolve the issue.
Spark 3.4.4: Scala 2.12, Java 8/11, Hadoop 3.x