`

ERROR org.apache.hadoop.conf.Configuration: Failed to set setXIncludeAware(true) for parser

 
阅读更多
ERROR org.apache.hadoop.conf.Configuration: Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@104faf8:java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
at javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(DocumentBuilderFactory.java:590)
at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1143)
at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1119)
at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1063)
at org.apache.hadoop.conf.Configuration.get(Configuration.java:416)
at org.apache.hadoop.mapred.JobConf.checkAndWarnDeprecation(JobConf.java:1910)
at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:322)
at org.apache.hadoop.mapred.Child.main(Child.java:72)


原因:

jar包冲突

解决方法:

删除自己的xercesImpl.jar,用jdk自身的编译器,问题解决了

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics