I've build the jar file with gradle and get the follwoing error message when running with Docker:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/semantics/apigateway/APIGatewayApplication has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
I suppose the local Java version (openjdk 21.0.6) and the Java listed in Dockerfile (17?) must match.
I've build the jar file with gradle and get the follwoing error message when running with Docker:
I suppose the local Java version (openjdk 21.0.6) and the Java listed in
Dockerfile(17?) must match.