`
小网客
  • 浏览: 1241066 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Hadoop报java.lang.UnsupportedOperationException: This parser does not support

 
阅读更多

异常信息如下:

java.lang.UnsupportedOperationException: This parser does not support specification “null” version “null”

具体异常如下:

[main] ERROR Configuration : Failed to set setXIncludeAware(true) for parser org.apache.xerces.jaxp.DocumentBuilderFactoryImpl@143ed74: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(Unknown Source) at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:1275) at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:1251) at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:1192) at org.apache.hadoop.conf.Configuration.get(Configuration.java:415) at org.apache.hadoop.hbase.HBaseConfiguration.checkDefaultsVersion(HBaseConfiguration.java:63) at org.apache.hadoop.hbase.HBaseConfiguration.addHbaseResources(HBaseConfiguration.java:76) at org.apache.hadoop.hbase.HBaseConfiguration.create(HBaseConfiguration.java:86)

产生原因为:xercesImpl版本冲突

解决方式:

查找maven的依赖,看看出现此jar的项目,删除一个低版本即可

0
2
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics