我在 EMR aws 中造成混乱,当 Spark 运行我的应用程序时,我收到以下错误:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/example/demodriver/MyClassFromJAR has been compiled by a more recent version of the Java Runtime (class file version 55.0),
this version of the Java Runtime only recognizes class file versions up to 52.0
Run Code Online (Sandbox Code Playgroud)
我emr-6.5.0在集群上使用releaseLabel,我的驱动程序jar是用java11构建的
如何在EMR中运行java11应用程序?或者这个错误与其他原因有关?