For security reasons I'm adding the statement:
transformerFactory.setFeature("http://javax.xml.XMLConstants/property/accessExternalDTD", false);
However I'm getting the following error in the log files:
25-Nov-2014 09:35:48.802 SEVERE [http-nio-8080-exec-14] CIMObject.CIMObjectCollectDataHANA.setRunningXML TransformerConfigurationException setRunningXMLHANA: javax.xml.transform.TransformerConfigurationException: Cannot set the feature 'http://javax.xml.XMLConstants/property/accessExternalDTD' on this TransformerFactory.
Someone experienced the same error and was able to fix it?
See Question&Answers more detail:os