Uploaded image for project: 'Build'
  1. Build
  2. BUILD-460

Update libraries for Java 16

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Neutral
    • BOM 6.2.9
    • BOM 6.2.8
    • BOM
    • None
    • Yes

    Description

      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:?]
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mgeljic Mikaël Geljić
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR