-
Task
-
Resolution: Done
-
Neutral
-
BOM 6.2.8
-
None
-
-
Empty show more show less
-
Empty show more show less
-
Yes
- runtime requires Byte Buddy 1.10.12 or higher (from 1.10.8) - https://github.com/raphw/byte-buddy/releases/tag/byte-buddy-1.10.12
- minor: for compile time, requires Lombok 1.18.20 (from 1.18.12) - https://projectlombok.org/changelog
That's all I needed for a basic CE setup at least, there might be more for DX Core. I didn't face the same Guice issue, but mostly the two stack traces below. In my case it was easy to trace back to byte-buddy.
--- AT STARTUP 2021-04-29 15:54:06,630 ERROR info.magnolia.event.SimpleEventBus : Exception caught when dispatching info.magnolia.module.PopulateModulesEvent with info.magnolia.config.module.ModuleConfigurationRegistry$$Lambda$267/0x000000080126e8b0 eventHandler. java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:154) ~[byte-buddy-1.10.8.jar:?] ... Caused by: java.lang.UnsupportedOperationException: Cannot define class using reflection: Unsupported class file major version 60 at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$Initializable$Unavailable.defineClass(ClassInjector.java:409) ~[byte-buddy-1.10.8.jar:?] --- AT LOGIN 2021-04-29 15:54:17,623 ERROR info.magnolia.cms.filters.ServletDispatchingFilter: Unable to load servlet class info.magnolia.admincentral.AdmincentralServlet : Failed to initialise UI IoC infrastructure javax.servlet.ServletException: Failed to initialise UI IoC infrastructure at info.magnolia.admincentral.AdmincentralServlet.servletInitialized(AdmincentralServlet.java:101) ~[magnolia-admincentral-6.2.8-SNAPSHOT.jar:?] ... Caused by: java.lang.IllegalArgumentException: Could not create type at net.bytebuddy.TypeCache.findOrInsert(TypeCache.java:154) ~[byte-buddy-1.10.8.jar:?] ... Caused by: java.lang.UnsupportedOperationException: Cannot define class using reflection: Unsupported class file major version 60 at net.bytebuddy.dynamic.loading.ClassInjector$UsingReflection$Dispatcher$Initializable$Unavailable.defineClass(ClassInjector.java:409) ~[byte-buddy-1.10.8.jar:?]
Acceptance criteria
- is depended upon by
-
MAGNOLIA-8104 Verify and add Java 16 to certified stack
- Closed
- is duplicated by
-
BUILD-461 Upgrade lombok version due to incompatibility with latest JDKs
- Closed
- is related to
-
MAGNOLIA-8097 DOC: Add Java 16 to 6.2 certified stack (with caveat)
- Closed