JFreeeChat Unable to validate using XSD
  • 2023-01-15 12:25:40
  • 7602 热度
  • 0 评论

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

1:少包

相关认为是缺少 xml-apis.jar 和 xercesImpl.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时注意。


Flame

Hello world!

0 评论
留下评论