Spring Apache CXF多总线定义

Spring Apache CXF多总线定义,spring,cxf,Spring,Cxf,我正在尝试将CXF与多个端点和2个总线定义一起使用,以下是我的配置: <jaxws:endpoint id="csSegSEndPoint" implementor="#csSegServices" address="/ESTSServices" bus="busEST"> </jaxws:endpoint> <cxf:bus name="busEST"> <cxf:inInterceptors>

我正在尝试将CXF与多个端点和2个总线定义一起使用,以下是我的配置:

<jaxws:endpoint id="csSegSEndPoint" 
    implementor="#csSegServices"
    address="/ESTSServices" 
    bus="busEST">
</jaxws:endpoint>

<cxf:bus name="busEST">
    <cxf:inInterceptors>
        <ref bean="logInbound"/>            
    </cxf:inInterceptors>
    <cxf:outInterceptors>
        <ref bean="logOutbound"/>
    </cxf:outInterceptors>
</cxf:bus>

问题是,当我启动应用程序时,我得到:

org.springframework.beans.factory.BeanCreationException:创建名为“csSegSEndPoint”的bean时出错:无法解析匹配的构造函数(提示:为简单参数指定索引/类型/名称参数以避免类型歧义)

我做了一些搜索,但我找不到我做错了什么。你能帮帮我吗

注意:我使用的是CXF 2.2.10

salu2。。
masch…

直到CXF 2.4.x的某个时候,这才真正起作用。一定要升级。2.2.10是一个古老的、有缺陷的、不受支持的版本,并且存在一系列安全问题。

这在CXF 2.4.x之前从未真正起作用。一定要升级。2.2.10非常古老、有缺陷、不受支持,并且存在一系列安全问题。

非常感谢您的回复,我将尝试使用该版本。非常感谢您的回复,我将尝试使用该版本。