Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E3573200BAC for ; Wed, 26 Oct 2016 20:14:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E1EC7160AEE; Wed, 26 Oct 2016 18:14:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 345F4160AE1 for ; Wed, 26 Oct 2016 20:14:05 +0200 (CEST) Received: (qmail 73122 invoked by uid 500); 26 Oct 2016 18:14:04 -0000 Mailing-List: contact dev-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 dev@cxf.apache.org Delivered-To: moderator for dev@cxf.apache.org Received: (qmail 64095 invoked by uid 99); 26 Oct 2016 18:10:12 -0000 X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 5.078 X-Spam-Level: ***** X-Spam-Status: No, score=5.078 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, MANY_SPAN_IN_TEXT=2.699, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=spigit.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spigit.com; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=TmOl2nSLTTZo6zZHXjlmnvURkf3S4yJcsLaYhAlryUc=; b=pxF73YTsrK4hLTfW5BcWrLpVZu1cBLNrjwxEDwZzPDF4uMJip0CShT92DUyitAwurA 86dyMhmKjdNBLk0LFmjTqcF1Ur3AIB0asOh72Xnd0j3N7Ulvuy8M+Dm+7aDLr9jIEyce gp15mMmytPM+MEgN8N1h6JwBEk6ctTfXzfkVY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=TmOl2nSLTTZo6zZHXjlmnvURkf3S4yJcsLaYhAlryUc=; b=W51NCIx5LbGmHYPncT/IC01NvYrC/vcwET/naSdutSut9ULpjG7FSVXhg3OD+zBqQt zn5VpxOGbbJufuA2gRanuCuLZR3UNjk1B0sFMb4FaFtS9yElO9bCy3dq0ZusUvm9Q7iP snJuNhAae1rVVi0RYqYtXiOH0wcFRrVVw5LwSdxxg8OHgfp4B+f5fHgxFPV0NkAVP1Wf zMsXOZl24Lh0H1xjP4t0bvbgx+1DehzKwQV4KbrBJ5DDooTMau4fbdXRdG1Ax/wy/ILt vPWIoG9kE5Wwd4AxKCM+nhchzscvNT+w7gdsZh3yGL2PZgLAeYHfeeEqazgBEugTpVPT fDWQ== X-Gm-Message-State: ABUngvdPcPlV2VAS20zo57h3PpCM5emGLt6sEcnAbhy0SleeNAbqgCXfnwwcK4ou9bqI86fmSS7Y7MD+seAHQfHo X-Received: by 10.176.65.10 with SMTP id j10mr2383109uad.94.1477505407058; Wed, 26 Oct 2016 11:10:07 -0700 (PDT) MIME-Version: 1.0 From: Sudha Chinnappa Date: Wed, 26 Oct 2016 11:10:06 -0700 Message-ID: Subject: CXF-frontend-3.1.8 not compatible with cxf-common-utilities-2.5.11 To: dev@cxf.apache.org Cc: Jay Punnackal Content-Type: multipart/alternative; boundary=94eb2c12453cf1200e053fc88820 archived-at: Wed, 26 Oct 2016 18:14:06 -0000 --94eb2c12453cf1200e053fc88820 Content-Type: text/plain; charset=UTF-8 Hello, I am upgrading cxf to the latest version 3.1.8 and facing this particular problem with ClassHelper.class in common utils. JAXRSServiceFactoryBean class in xf-rt-frontend-jaxrs-3.1.8.jar has a reference to Class realClass = ClassHelper.getRealClass(getBus(), bean); //Line 223 but ClassHelper from cxf-common-utilities-2.5.11.jar does not have that method. Can you please point me to the right jar that I should be using. I went through the entire version list here but couldn't find the method in any of the classHelper class http://grepcode.com/file/repo1.maven.org/maven2/org.apache.cxf/cxf-common-utilities/2.3.0/org/apache/cxf/common/util/ClassHelper.java/ Here is my build.gradle file compile group: 'org.apache.cxf', name: 'cxf-rt-frontend-jaxws', version: '3.1.8' compile group: 'org.apache.cxf', name: 'cxf-rt-bindings-xml', version: '3.1.8' compile group: 'org.apache.cxf', name: 'cxf-rt-ws-security', version: '3.1.8' compile group: 'org.apache.cxf', name: 'cxf-rt-bindings-soap', version: '3.1.8' compile group: 'org.apache.cxf', name: 'cxf-rt-frontend-jaxrs', version: '3.1.8' compile group: 'org.apache.cxf', name: 'cxf-rt-transports-http', version: '3.1.8' compile group: 'org.apache.cxf', name: 'cxf-rt-bindings-http', version: '2.5.11' //compile group: 'org.apache.cxf', name: 'cxf-common-utilities', version: '2.5.11' compile group: 'org.apache.cxf', name: 'cxf-api', version: '2.5.11' //Do not use 2.7.18. The above cxf jars has internal dependency to 2.5.11 version and here is the snippet of the exception in the console SEVERE: Servlet [SpigitWebServiceCXFServlet] in web application [] threw load() exception java.lang.NoSuchMethodError: org.apache.cxf.common.util.ClassHelper.getRealClass(Lorg/apache/cxf/Bus;Ljava/lang/Object;)Ljava/lang/Class; at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClassesFromBeans( JAXRSServiceFactoryBean.java:223) Thanks -- *Sudha Chinnappa* *Spigit* // *Software Engineer* mobile 1.510-304-4380 275 Battery Street San Francisco, CA 94111 LinkedIn Great overview video of Spigit: Watch --94eb2c12453cf1200e053fc88820--