posted 9 years ago
Hi all,
The following code cannot be compiled in JDK 1.6 but can be compiled in JDK 1.7, do anyone know any other solution with the same function as the code provided which can be compiled in JDK 1.6 ?
Error message:
Caused by: javax.xml.transform.TransformerConfigurationException: [ERR 0337] Cannot set the feature 'http://javax.xml.XMLConstants/property/accessExternalDTD' on this TransformerFactory.
at com.ibm.xtq.xslt.jaxp.AbstractTransformerFactory.setFeature(Unknown Source)
at com.pru.hk.pruone.service.DefaultEAIMQService.doGetXMLDocument(DefaultEAIMQService.java:107)
at com.pru.hk.pruone.service.DefaultEAIMQService.getXMLDocument(DefaultEAIMQService.java:76)
Thanks,
Jack