Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3681

NoClassDefFoundError for org.xml.sax.SAXException after jlink app with log4j 3 beta2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0.0-beta2
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            vy Volkan Yazici
            singingbush Samael Bate
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: