You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Wakaleo, we are currently using the <serenity.version>2.0.91</serenity.version> with Java 1.8. However, due to organizational constraints, we would like to upgrade to a higher version of Java, specifically Java 21. Will this version of Serenity support Java 21, or do we need a different Serenity version?
Just for your information: I encountered the following error when using the 2.0.91 version with Java 21.
INFO: An exception was caught and reported. Message: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4c39f513
java.lang.IllegalStateException: Unable to load cache item
at com.google.inject.internal.cglib.core.internal.$LoadingCache.createEntry(LoadingCache.java:79)
at com.google.inject.internal.cglib.core.internal.$LoadingCache.get(LoadingCache.java:34)
at com.google.inject.internal.cglib.core.$AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116)
if anyone tried, please provide the configuration steps
The text was updated successfully, but these errors were encountered: