cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Bras (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6533) Apache CXF 2.7.17 not compatibile with Spring 4.2.0
Date Thu, 03 Dec 2015 11:00:14 GMT

    [ https://issues.apache.org/jira/browse/CXF-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15037665#comment-15037665
] 

Ed Bras commented on CXF-6533:
------------------------------

I don't understand why they haven't made this little change in 2.7.18 :( Such a tinny change...
I tried upgrading to CXF 3.0 2 times before last year (see the CXF forum about it), it cost
me a lot of time and gave me a lot of problems that I couldn't solve (neither through the
forum), so I gave up.



> Apache CXF 2.7.17 not compatibile with Spring 4.2.0
> ---------------------------------------------------
>
>                 Key: CXF-6533
>                 URL: https://issues.apache.org/jira/browse/CXF-6533
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.7.17
>            Reporter: Predrag Spasojevic
>
> CXF 2.7.17 cannot be initialized with Spring 4.2.0.
> AbstractBeanDefinitionParser#mapElementToJaxbBean cannot compile because of this:
>         jaxbbean.addConstructorArg(writer.toString());
>         jaxbbean.addConstructorArg(getContext(jaxbClass));
> addConstructorArg do not exist anymore in Spring's BeanDefinitionBuilder.
> Stack trace
> Caused by: java.lang.NoSuchMethodError: org.springframework.beans.factory.support.BeanDefinitionBuilder.addConstructorArg(Ljava/lang/Object;)Lorg/springframework/beans/factory/support/BeanDefinitionBuilder;
> 	at org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser.mapElementToJaxbBean(AbstractBeanDefinitionParser.java:418)
~[cxf-api-2.7.17.jar:2.7.17]
> 	at org.apache.cxf.configuration.spring.AbstractBeanDefinitionParser.mapElementToJaxbBean(AbstractBeanDefinitionParser.java:392)
~[cxf-api-2.7.17.jar:2.7.17]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message