我不能让过去的这个问题。浏览了很多论坛。请帮助:提供了javax.xml.parsers.DocumentBuilderFactory中无法找到
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is javax.xml.parsers.FactoryConfigurationError: Provider for javax.xml.parsers.DocumentBuilderFactory cannot be found.
我已经包含在Xerces的bin中的所有jar文件。 以下是我的WEB-INF/lib目录结构:
[可能重复](http://stackoverflow.com/questions/15526419/unexpected-exception-parsing-xml-document-from-servletcontext-resource-web-inf) – gks
我不确定,但看起来像实施DocumentFactoryBuilder的是没有发现即使添加了JAR文件后 – Saket
然后用不同的罐子尝试从[这里](http://www.findjar.com/class/javax/xml/parsers/DocumentBuilderFactory.html)[用法](HTTP: //grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/javax/xml/parsers/DocumentBuilderFactory.java)[更多信息](HTTP://www.developerfusion。com/code/2064/a-simple-way-to-read -a-xml-file-in-java /) – gks