You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2017/03/23 18:31:41 UTC
[jira] [Resolved] (CXF-6533) Apache CXF 2.7.17 not compatibile with
Spring 4.2.0
[ https://issues.apache.org/jira/browse/CXF-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-6533.
------------------------------
Resolution: Won't Fix
Fix Version/s: Invalid
CXF 2.7.x does not support Spring 4.2 (and is unsupported itself).
> 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
> Fix For: Invalid
>
>
> 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.15#6346)