[ https://issues.apache.org/jira/browse/LOG4J2-3681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827484#comment-17827484 ]
Piotr Karwasz commented on LOG4J2-3681: --------------------------------------- I moved this issue to Github: [https://github.com/apache/logging-log4j2/issues/2383] [~singingbush]: would it be more comfortable if there was a {{log4j-config-xml}} artifact that requires the necessary modules? > NoClassDefFoundError for org.xml.sax.SAXException after jlink app with log4j > 3 beta2 > ------------------------------------------------------------------------------------ > > Key: LOG4J2-3681 > URL: https://issues.apache.org/jira/browse/LOG4J2-3681 > Project: Log4j 2 > Issue Type: Bug > Affects Versions: 3.0.0-beta2 > Reporter: Samael Bate > Assignee: Volkan Yazici > Priority: Major > Labels: jpms, modularization > > I've added log4j-core 3.0.0-beta2 to a maven project and can run the built > jar with logging working as expected (with log4j2.xml in resources folder) > but when I run a launcher that was created with the _maven-jlink-plugin_ > there is a {{java.lang.NoClassDefFoundError: org/xml/sax/SAXException}} at: > {{org.apache.logging.log4j.core@3.0.0.beta2/org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory}} -- This message was sent by Atlassian Jira (v8.20.10#820010)