提问人:Bharat Kulkarni 提问时间:11/9/2023 最后编辑:Bharat Kulkarni 更新时间:11/9/2023 访问量:15
将 JDK1.8 发布到 JDK 11 SOAP Webservice 调用的迁移面临问题“无法找到 XML 架构命名空间的 Spring NamespaceHandler”
Post JDK1.8 to JDK 11 Migration facing issue for SOAP Webservice call "Unable to locate Spring NamespaceHandler for XML schema namespace"
问:
迁移到JDK 11后,我们的应用程序调用 SOAP Webservice 。我们面临着以下运行时问题,如下面 JBOSS 服务器日志中突出显示的那样。
11:20:46,267 信息 [org.springframework.web.context.support.XmlWebApplicationContext] (ServerService 线程池 -- 76)刷新根 WebApplicationContext:启动日期 [Wed Nov 08 11:20:46 IST 2023]; 上下文层次结构的根11:20:46,350 INFO [org.springframework.beans.factory.xml.xmlBeanDefinitionReader] (ServerService 线程池 -- 76)装入 XML Bean 定义 ServletContext 资源 [/WEB-INF/applicationContext.xml]11:20:49,478 错误 [org.springframework.web.context.ContextLoader] (ServerService 线程池 -- 76)上下文初始化失败: org.springframework.beans.factory.parsing.BeanDefinitionParsingException:配置 问题:无法找到 XML 模式的 Spring NamespaceHandler 命名空间 [http://www.springframework.org/schema/web-services\]冒犯 资源:ServletContext 资源 [/WEB-INF/applicationContext.xml]
org.springframework.spring//org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:68) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:85) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.parsing.ReaderContext.error(ReaderContext.java:80) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.error(BeanDefinitionParserDelegate.java:316) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1420) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1413) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180) [org.springframework.beans-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125) [org.springframework.web-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94) [org.springframework.web-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131) [org.springframework.context-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530) [org.springframework.context-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444) [org.springframework.context-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) [org.springframework.web-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) [org.springframework.web-3.1.3.RELEASE.jar:3.1.3.RELEASE]at org.springframework.spring//org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111) [org.springframework.web-3.1.3.RELEASE.jar:3.1.3.RELEASE]
期待这个问题的解决方案。
答: 暂无答案
评论