java.lang.NoClassDefFoundError on arm64 architecture with version 11.x
Author: mbcelCreated Jun 8, 2026Updated Jun 10, 2026
Labelsbug
Bug Report
Running the supertokens postgres core docker image for all version 11.x on ARM64 architecture seems to lead to java.lang.NoClassDefFoundError. The following i did run:
docker run --rm -p 3567:3567 registry.supertokens.io/supertokens/supertokens-postgresql:11.4.3-arm64
And container exits with:
Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/lib/supertokens/temp/
Picked up _JAVA_OPTIONS: -Djava.io.tmpdir=/lib/supertokens/temp/
Error: Unable to initialize main class io.supertokens.Main
Caused by: java.lang.NoClassDefFoundError: io/supertokens/pluginInterface/exceptions/InvalidConfigExceptionIs there anything i do wrong? Also is there any workaround? I would like to use version 11.x instead of needing to stick to 10.x.
Useful informations
No issuess with version 10.x on arm64. No issues on amd64 with version 11.x
Source: supertokens/supertokens-core