使用JFreeChart报javax.xml.parsers.ParserConfigurationException

来源:互联网 发布:淘宝买东西后退款bug 编辑:程序博客网 时间:2024/04/26 04:17

今天给项目加上了对jfreechart的应用,结果一加入JFreeChart相关的依赖包后系统就出错了,下面是错误信息;

 javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [gnu.xml.dom.JAXPFactory@676e3f] does not support XML Schema. Are you running on Java 1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.

 因为之前还好好的,所以我想应该是由于刚加入的包的问题,然后就试着删除一些JFreeChart的依赖包,当删除了gnujaxp.jar的时候程序就不报错了,所以应该就是这个jar的问题,其实错误信息在上面就提到了Your JAXP provider [gnu.xml.dom.JAXPFactory@676e3f] does not support XML Schema.

0 0
原创粉丝点击