读书人

spring有关问题: Unable to validate

发布时间: 2012-11-09 10:18:48 作者: rapoo

spring问题: Unable to validate using XSD: Your JAXP provider
【问题】:
2009-12-11 9:24:43 org.apache.catalina.core.ApplicationContext log
严重: StandardWrapper.Throwable
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document
from ServletContext resource [/WEB-INF/classes/application.xml]; nested exception is org.springframework
.beans.factory.BeanDefinitionStoreException: Unable to validate using XSD: Your JAXP provider [gnu.xml.do
m.JAXPFactory@f29441] does not support XML Schema. Are you running on Java 1.4 or below with Apache Crims
on? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unable to validate using XSD:
Your JAXP provider [gnu.xml.dom.JAXPFactory@f29441] 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 support.


【方法】:
http://blog.chinaunix.net/u1/55983/showart_2025239.html

读书人网 >软件架构设计

热点推荐