[logback-dev] [JIRA] Updates for LOGBACK-1577: javax.xml.parsers.ParserConfigurationException: SAX feature 'http://xml.org/sax/features/external-general-entities' not supported.

QOS.CH (JIRA) noreply-jira at qos.ch
Tue Sep 21 17:33:00 CEST 2021


logback / LOGBACK-1577 [Open]
javax.xml.parsers.ParserConfigurationException: SAX feature 'http://xml.org/sax/features/external-general-entities' not supported.

==============================

Here's what changed in this issue in the last few minutes.
This issue has been created
This issue is now assigned to you.

View or comment on issue using this link
https://jira.qos.ch/browse/LOGBACK-1577

==============================
 Issue created
------------------------------

Ceki Gülcü created this issue on 21/Sep/21 5:20 PM
Summary:              javax.xml.parsers.ParserConfigurationException: SAX feature 'http://xml.org/sax/features/external-general-entities' not supported.
Issue Type:           Bug
Assignee:             Logback dev list
Created:              21/Sep/21 5:20 PM
Priority:             Major
Reporter:             Ceki Gülcü
Description:
  {code:java}
   {{code}
  {code:java}
   {code}
  Failed to auto configure default logger context
  Reported exception:
  ch.qos.logback.core.joran.spi.JoranException: Parser configuration error occurred
   at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:89)
   at ch.qos.logback.core.joran.event.SaxEventRecorder.recordEvents(SaxEventRecorder.java:57)
   at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:151)
   at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110)
   at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
   at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
   at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
   at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
   at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
   at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150)
   at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124)
   at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:417)
   at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:362)
   at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388)
  [cut]
  Caused by: javax.xml.parsers.ParserConfigurationException: SAX feature 'http://xml.org/sax/features/external-general-entities' not supported.
   at oracle.xml.jaxp.JXSAXParserFactory.setFeature(JXSAXParserFactory.java:272)
   at ch.qos.logback.core.joran.event.SaxEventRecorder.buildSaxParser(SaxEventRecorder.java:82)
   ... 83 more


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the logback-dev mailing list