sae上报错,删除/xml-apis*.jar可解决,网上都说增加 seXXX.jar包,增加只会报新的错误

前端之家收集整理的这篇文章主要介绍了sae上报错,删除/xml-apis*.jar可解决,网上都说增加 seXXX.jar包,增加只会报新的错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

[17/Aug/2014:23:43:05+0800]JAVA_SAE_Fatal_error:ContextinitializationFailed<br>org.springframework.beans.factory.BeanDefinitionStoreException:UnexpectedexceptionparsingXMLdocumentfromServletContextResource[/WEB-INF/spring-mvc.xml];nestedexceptionisjavax.xml.parsers.FactoryConfigurationError:Providerforjavax.xml.parsers.DocumentBuilderFactorycannotbefound<br>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)<br>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)<br>org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)<br>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)<br>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)<br>org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)<br>org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)<br>org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)<br>org.springframework.context.support.AbstractRefreshableApplicationContext.refreshbeanfactory(AbstractRefreshableApplicationContext.java:130)<br>org.springframework.context.support.AbstractApplicationContext.obtainFreshbeanfactory(AbstractApplicationContext.java:537)<br>org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)<br>org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:389)<br>org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:294)<br>org.sprinyq37.javaruntime

解决错误来之不易,试了很久

原文链接:https://www.f2er.com/xml/297293.html

猜你在找的XML相关文章