I have the following code:
javax.xml.transform.TransformerFactory factory = TransformerFactory.newInstance(); factory.setAttribute(XMLConstants.ACCESS_EXTERN
It might be coming from other xalan version of your project.
Check Dependent Hierarchy in your POM for the xalan and exclude the xercesImpl in all the version of xalan.