This means you compiled with Java 11, but are running on Java < 11. It's not related to Spark.
On Fri, Apr 23, 2021 at 10:23 AM chansonzhang <zhangchen.shaa...@gmail.com> wrote: > I just update the spark-* version in my pom.xml to match my spark and scala > environment, and this solved the problem > > > > > -- > Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/ > > --------------------------------------------------------------------- > To unsubscribe e-mail: user-unsubscr...@spark.apache.org > >