原因是有多个XML分析器,需要通过JVM指定一个属性来解决问题。
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.\ internal.jaxp.DocumentBuilderFactoryImpl
使 用上面指定的分析器就不再抛出异常
Your email address will not be published. Required fields are marked *
Name *
Email *
Website
Comment
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>