`

org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

阅读更多
在main方法中启动spring报异常
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
缺少xercesImpl.jar这个包
下载地址:
http://archive.apache.org/dist/xml/xerces-j/

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from class path resource [applicationContext.xml]; nested exception is javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:420)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:212)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:80)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
分享到:
评论

相关推荐

    org.apache.xerces-2.9.0.jar/xerces.jar

    例如,如果你的项目使用了需要Xerces支持的库,或者你自己编写了依赖于Xerces的代码,那么你需要确保将"org.apache.xerces-2.9.0.jar"或"xerces.jar"添加到项目的类路径中。你可以通过Maven、Gradle等构建工具进行...

    com.springsource.org.apache.xerces-sources-2.8.1.jar

    jar包,官方版本,自测可用

    xerces-2.9.0.jar

    描述 "Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found" 是一个常见的错误消息,这通常意味着在运行时环境中,系统无法找到指定的 XML 解析器提供商。JAXP(Java API for XML Processing)是...

    com.springsource.org.apache.xerces-2.9.1.jar

    jar包,官方版本,自测可用

    apache-xml-xerces.jar.zip

    - **配置解析器**:在Java代码中,可以通过`org.apache.xerces.jaxp.DocumentBuilderFactoryImpl`或`org.apache.xerces.jaxp.SAXParserFactoryImpl`来创建并配置解析器。 - **错误处理**:解析过程中如果遇到错误,...

    Java中org.apache.crimson.tree开发包

    标题中的“Java中org.apache.crimson.tree开发包”指的是Apache Crimson库中的一个特定部分,即`org.apache.crimson.tree`包。这个包主要包含了用于解析和操作XML文档的类和接口。其中,`XmlDocument`类是这个包中的...

    com.springsource.org.apache.xerces-2.8.1.jar

    jar包,官方版本,自测可用

    java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.setXmlVersion问题解决方法

    在这个特定的情况下,错误提示`org.apache.xerces.dom.DocumentImpl.setXmlVersion`指出问题源于Apache Xerces的DOM实现,它是一个流行的XML解析库。 `AbstractMethodError`通常意味着缺少了某个依赖或版本冲突。...

    javaHighcharts 导出图表的batik 等资源包

    import org.apache.batik.transcoder.Transcoder; import org.apache.batik.transcoder.TranscoderException; import org.apache.batik.transcoder.TranscoderInput; import org.apache.batik.transcoder....

    xerces-2.6.0.jar

    System.setProperty("javax.xml.parsers.DocumentBuilderFactory", "org.apache.xerces.jaxp.DocumentBuilderFactoryImpl"); System.setProperty("javax.xml.parsers.SAXParserFactory", "org.apache.xerces.jaxp....

    [免费]xercesImpl-2_9_1.jar-CSDN下载

    java.lang.AbstractMethodError: org.apache.xerces.dom.ElementNSImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object; at org.apache.cxf.staxutils.StaxUtil...

    spring-framework-3.0.5.RELEASE-dependencies-5

    org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...

    spring-framework-3.0.5.RELEASE-dependencies-1

    org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...

    spring-framework-3.0.5.RELEASE-dependencies-6

    org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...

    spring-framework-3.0.5.RELEASE-dependencies-3

    org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...

    webservice启动没有问题,通过自动生成的客户端报错

    faultCode: {... at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source ) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknow n Source)

    spring-framework-3.0.5.RELEASE-dependencies-2

    org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...

    spring-framework-3.0.5.RELEASE-dependencies-8

    org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...

    spring-framework-3.0.5.RELEASE-dependencies-4

    org.apache.xerces org.apache.xml org.apache.xmlbeans org.apache.xmlcommons org.apache.derby org.apache.poi org.apache.struts org.apache.taglibs 5号包: org.codehaus.castor org.aspectj org.beanshell 6...

Global site tag (gtag.js) - Google Analytics