Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to run with Docker because of different Java Runtime version #60

Open
nichtich opened this issue Feb 25, 2025 · 0 comments
Open

Comments

@nichtich
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant