Верблюжье мыло cxf и проблема с карафом

Привет, я столкнулся с этой проблемой - Проблема с конфигурацией: невозможно найти Spring NamespaceHandler для пространства имен схемы XML [http://camel.apache.org/schema/spring] Ресурс-нарушитель: URL [bundle: //2888.0: 0 / META-INF / spring / camel-context.xml] при развертывании пакета в karaf.

Мой код такой, как показано ниже.

<beans xmlns = "http://www.springframework.org/schema/beans"
xmlns:context = "http://www.springframework.org/schema/context"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" 
xmlns:cxf = "http://camel.apache.org/schema/cxf"
xsi:schemaLocation = "http://www.springframework.org/schema/beans        
http://www.springframework.org/schema/beans/spring-beans.xsd               
http://camel.apache.org/schema/spring        
http://camel.apache.org/schema/spring/camel-spring.xsd       
http://www.springframework.org/schema/context            
http://www.springframework.org/schema/context/spring-context.xsd
http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd">

<camelContext id = "SOAPSERVICE" xmlns = "http://camel.apache.org/schema/spring">
   <routeBuilder id = "soapRouter" ref = "soapRoute"/>
</camelContext>
<bean class = "com.example.router.SoapRouter" id = "soapRoute"/>

 <!-- setting up a Camel CXF web-service -->
 <cxf:cxfEndpoint id = "exampleServiceEndPoint"
               address = "http://localhost:9000/example/"
                  wsdlURL = "http://localhost:9000/example?wsdl"
               serviceClass = "com.example.ExampleServiceEndpoint"/>

0
0
85
1

Ответы 1

Вы должны установить функцию верблюжьей пружины на свой контейнер

Другие вопросы по теме