NoClassDefFoundError org.graalvm.polyglot.Engine$ImplHolder

Hi everyone,

Metabase 0.53.6
OpenJDK(jdk-23.0.2)

I can check the graphs by viewing the dashboard via web reference, but when I subscribe to send emails periodically, an error always occurs.

Error Content

2025-03-13 11:57:47,395 ERROR render.card :: Pulse card render error
java.lang.NoClassDefFoundError: Could not initialize class org.graalvm.polyglot.Engine$ImplHolder

Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)' [in thread "qtp801573857-40"]

Please tell me how to resolve this.

Metabase 0.52.XX
OpenJDK(jdk-17)
In this environment it worked without any problems.

you can't use java 23, you need to use java 21

1 Like

thanks so much!
It's fixed.

I had assumed that there would be no problem if I used a higher version of JDK, but that was not the case.