TransformerFactory and Xalan Dependency Conflict

后端 未结 6 1743
我寻月下人不归
我寻月下人不归 2021-01-12 21:54

I have the following code:

javax.xml.transform.TransformerFactory factory = TransformerFactory.newInstance();
factory.setAttribute(XMLConstants.ACCESS_EXTERN         


        
6条回答
  •  甜味超标
    2021-01-12 22:46

    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.

提交回复
热议问题