JFreeeChat Unable to validate using XSD

来源:互联网 发布:依视路和明月镜片 知乎 编辑:程序博客网 时间:2024/05/16 17:42

根据资料总结可能是由如下原因引起:

1:少包

­­­相关认为是缺少 xml-apis.jarxercesImpl.jar 两个包,经验证,不是该错!
2:版本问题

按错误提示中说的“Are you running on Java 1.4 or below with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support”,则可能是JDK版本问题,排除,Myeclipse和Tomcat配置的都是1.6最高版本

最终确定是包冲突

Your JAXP provider [gnu.xml.dom.JAXPFactory@5e7663] does not support XML Schema,JFreeeChat里有个包引起的冲突gunjaxp.jar,删掉后测试成功!

注意在SSH里使用JFreeeChat时注意!

0 0