You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2017/08/31 16:24:10 UTC
[jira] [Assigned] (LOG4J2-2026) AbstractMethodError
DocumentBuilderFactory.setFeature
[ https://issues.apache.org/jira/browse/LOG4J2-2026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory reassigned LOG4J2-2026:
------------------------------------
Assignee: Gary Gregory
> AbstractMethodError DocumentBuilderFactory.setFeature
> -----------------------------------------------------
>
> Key: LOG4J2-2026
> URL: https://issues.apache.org/jira/browse/LOG4J2-2026
> Project: Log4j 2
> Issue Type: Bug
> Affects Versions: 2.9
> Reporter: Leon Finker
> Assignee: Gary Gregory
> Priority: Minor
>
> Hi,
> Tested 2.9.0 RC1 and noticed one issue due to xerces 2.6.2 version being used on one big app. It causes log4j2 failure to initialize (changes are from LOG4J2-1959):
> Exception in thread "main" java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
> at org.apache.logging.log4j.core.config.xml.XmlConfiguration.disableDtdProcessing(XmlConfiguration.java:205)
> at org.apache.logging.log4j.core.config.xml.XmlConfiguration.newDocumentBuilder(XmlConfiguration.java:194)
> at org.apache.logging.log4j.core.config.xml.XmlConfiguration.<init>(XmlConfiguration.java:92)
> at org.apache.logging.log4j.core.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:46)
> at org.apache.logging.log4j.core.config.ConfigurationFactory.getConfiguration(ConfigurationFactory.java:239)
> at org.apache.logging.log4j.core.config.ConfigurationFactory$Factory.getConfiguration(ConfigurationFactory.java:369)
> at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:237)
> at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:158)
> at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:131)
> at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:101)
> at org.apache.logging.log4j.core.config.Configurator.initialize(Configurator.java:188)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)