向高手求救:Unable to validate using XSD
运行程序时出现了下列异常。在之前能正常运行的。可是再一次运行时就出现了这个问题。JDK1.6,项目里面的../web-inf/lib中有xerces_2.6.2.jar。在网上下了xerces.jar替换后也没解决。又导入了xercesImpl.jar,还是存在着这个异常。请高手出手相救!谢了。
ERROR org.springframework.web.context.ContextLoader:204 - Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from class path resource [applicationContext.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [gnu.xml.dom.JAXPFactory@84de3c] 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.
Caused by:
javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [gnu.xml.dom.JAXPFactory@84de3c] 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.