flink如果要操作hdfs,需要一个hadoop-hdfs的包.而增加这个包后出现如下错误:
javax.xml.parsers.FactoryConfigurationError: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
java.lang.RuntimeException: Provider for class javax.xml.parsers.DocumentBuilderFactory cannot be created
原因: xml-apis包与项目里dom4j包冲突.
排除项目中所有xml-apis包.