网站首页
Java
站长
开源
框架
理论
JS
Linux
DB
服务器
网络编程
生活
软件
PHP
其他
您的位置:首页 > 开源 > JFreeeChat Unable to validate using XSD
JFreeeChat Unable to validate using XSD
2014-7-19    7935    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时注意。

上一篇: Xpath java.lang.NoClassDefFoundError: org/jaxen/JaxenException
下一篇: java.lang.reflect.InvocationTargetException
发表评论:
您的网名:
个人主页:
编辑内容: