jfreechart裏gnujaxp.jar可能會於xml解析包衝突衝突。

在使用SSM時,啓動tomcat6報錯:Apache Xerces (or Java 1.5) for full XSD support.
Caused by: javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [gnu.xml.dom.JAXPFactory@1381960] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD
java

我解決這個問題的方法是,在項目中去掉了jfreechart的相關jar包:gnujaxp.jartomcat

相關文章
相關標籤/搜索