Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxws] in wildfly27

  Kiến thức lập trình

i get the following error when running wildfly:

17:22:01,520 ERROR [org.springframework.web.context.ContextLoader](ServerService Thread Pool — 51) Context initialization failed:org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace http://cxf.apache.org/jaxws
Offending resource: ServletContext resource /WEB-INF/cxf-beans.xml at org.springframework.spring//org.springframework.beans.factory.parsing.FailFastProblemReporter.error(FailFastProblemReporter.java:72)

I’ve tried the following:

  1. Put the jaxws.xsd under WEB-INF/ and set this value in cxf-beans.xml
  2. Put cxf-rt-frontend-jaxws-4.0.4.jar in module in modules.xml
  3. Put cxf-rt-frontend-jaxws-4.0.4.jar as part of wildfly (under org.apache.cxf.impl)
  4. my WEB-INF/cxf-beans.xml already contains xmlns:jaxws=”http://cxf.apache.org/jaxws”
    xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
    http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd”>

What could be the issue??

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website Kho Theme wordpress Kho Theme WP Theme WP

LEAVE A COMMENT