The issue is that your version of Java Spark supports Java 17 and later, but it seems that your Java version is higher than 17.