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.9.1</version>
</dependency>