-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
When using log4j2 2.25.0 in a backend vert.x application running on a custom JRE created via jlink
it's necessary to include the java.desktop
module otherwise the following exception is thrown during log4j initialization:
Exception in thread "main" java.lang.NoClassDefFoundError: java/beans/PropertyChangeEvent
Please consider making dependency on java.beans (part of java.desktop) optional or allow exclusion via maven. java.desktop is the second biggest standard module after java.base and it should not be required to include it in backend applications.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done