【发布时间】:2009-10-28 01:20:25
【问题描述】:
我正在使用一个应用程序,其中我已将 xerces144.jar 文件放置在 EAR 文件中 war 文件的 WEB-INF/lib 文件夹中。当我将此 EAR 文件部署到 WebLogic Server 并启动应用程序时,我收到以下异常。我们正在使用 Spring MVC。但是,如果我只使用 WAR 文件部署相同的应用程序,那么一切正常。我还注意到,如果我从 EAR 文件中删除 xerces144.jar 文件并部署 EAR,它的部署不会有任何问题。此 xerces144.jar 文件包含在 WAR 中与包含在 EAR 中并部署的相同 WAR 有什么区别。
2009-10-27 21:05:50,468 ERROR - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Parser configuration exception parsing XML from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is javax.xml.parsers.ParserConfigurationException: Unable to validate using XSD: Your JAXP provider [org.apache.xerces.jaxp.Document BuilderFactoryImpl@19b5ed8] does not support XML Schema. Are you running on Java
1.4 with Apache Crimson? Upgrade to Apache Xerces (or Java 1.5) for full XSD support.
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadB
【问题讨论】:
标签: weblogic weblogic9.x