[jira] [Commented] (LOG4J2-3681) NoClassDefFoundError for org.xml.sax.SAXException after jlink app with log4j 3 beta2

2024-03-15 Thread Piotr Karwasz (Jira)


[ 
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)


[jira] [Commented] (LOG4J2-3681) NoClassDefFoundError for org.xml.sax.SAXException after jlink app with log4j 3 beta2

2024-03-14 Thread Volkan Yazici (Jira)


[ 
https://issues.apache.org/jira/browse/LOG4J2-3681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17827037#comment-17827037
 ] 

Volkan Yazici commented on LOG4J2-3681:
---

[~singingbush], thanks for the report! As indicated in [the Log4j support 
policy|https://logging.apache.org/log4j/2.x/support.html#issues], Log4 has 
migrated to GitHub Issues. Would you mind closing this one and opening a new 
issue there, please?

> 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
>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)