Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8F5817915 for ; Tue, 29 Sep 2015 13:02:04 +0000 (UTC) Received: (qmail 95541 invoked by uid 500); 29 Sep 2015 13:02:04 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 95504 invoked by uid 500); 29 Sep 2015 13:02:04 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 95490 invoked by uid 99); 29 Sep 2015 13:02:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2015 13:02:04 +0000 Date: Tue, 29 Sep 2015 13:02:04 +0000 (UTC) From: "Daniel Kulp (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6533) Apache CXF 2.7.17 not compatibile with Spring 4.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935127#comment-14935127 ] Daniel Kulp commented on CXF-6533: ---------------------------------- Solution is to upgrade to CXF 3.x. CXF 2.7 still supports earlier versions of Spring (2.5.x and 3.0.x) that do not have the new constructors and methods. If you need to support a "New" Spring, that will also require newer versions of other libraries like CXF. > 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)