When I deploy a cloudflow service to Kubernetes cluster, get the following error:
Exception in thread “main” java.lang.UnsupportedClassVersionError: CloudFlowService 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
Version 55.0 is JDK 11, and version 52.0 is JDK 1.8.
Adding “-target:jvm-1.8” to scalacOptions in build.sbt can resolve the problem. But I would like to know if JDK 11 can be supported?