码迷,mamicode.com
首页 > 编程语言 > 详细

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

时间:2017-02-24 14:24:23      阅读:662      评论:0      收藏:0      [点我收藏+]

标签:dom   builder   ini   support   erro   --   this   版本   exception   

java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"  
    at javax.xml.parsers.SAXParserFactory.setXIncludeAware(SAXParserFactory.java:448)  
    at org.apache.commons.digester.Digester.getFactory(Digester.java:534)  
    at org.apache.commons.digester.Digester.getParser(Digester.java:786)  
    at org.apache.commons.digester.Digester.getXMLReader(Digester.java:1058)  
    at org.apache.commons.digester.Digester.parse(Digester.java:1887)  
java.lang.ExceptionInInitializerError
    at org.jdom2.input.SAXBuilder.<init>(SAXBuilder.java:338)
    at org.jdom2.input.SAXBuilder.<init>(SAXBuilder.java:221)
原因:xerces 版本过低
升级下xerces 版本即可

<!-- https://mvnrepository.com/artifact/xerces/xercesImpl -->
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.11.0</version>
</dependency>

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

标签:dom   builder   ini   support   erro   --   this   版本   exception   

原文地址:http://www.cnblogs.com/austinspark-jessylu/p/6438351.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!