[ https://issues.apache.org/jira/browse/WICKET-6836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17205585#comment-17205585 ]
Gert-Jan Schouten commented on WICKET-6836: ------------------------------------------- And yet it's included in my war file. This is because Maven _only_ inherits scope and optional from the dependencyManagement section if you _only_ specify the artifactId and the groupId and nothing else. Since wicket-util also specifies scope, optional is not inherited and defaults to "false" for wicket-util. If you want, I can create a new issue? I will use the mailing list for future questions, thanks! And thanks for the cglib fix. > Replace CGLib with ByteBuddy and/or Javassist > --------------------------------------------- > > Key: WICKET-6836 > URL: https://issues.apache.org/jira/browse/WICKET-6836 > Project: Wicket > Issue Type: Improvement > Components: wicket-ioc > Affects Versions: 9.0.0 > Environment: Linux > Reporter: Gert-Jan Schouten > Priority: Minor > > When trying to run Wicket 9.0.0 under Java 15, it fails with an "Unsupported > class file major version 59" error from CGLib. > [This issue|https://github.com/cglib/cglib/issues/74] suggests that CGLib is > not actively maintained anymore. The Maven Central hasn't seen a new version > since August 2019. > To make sure Wicket keeps running on the latest Java version, a migration to > ByteBuddy and/or Javassist is recommended. > This is especially relevant since Oracle now only supports the latest version > of OpenJDK, requiring OpenJDK users to switch to the latest version every 6 > months. -- This message was sent by Atlassian Jira (v8.3.4#803005)