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 DE20A10FF9 for ; Tue, 17 Dec 2013 16:38:38 +0000 (UTC) Received: (qmail 37231 invoked by uid 500); 17 Dec 2013 16:37:24 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 36962 invoked by uid 500); 17 Dec 2013 16:37:13 -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 36817 invoked by uid 99); 17 Dec 2013 16:37:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Dec 2013 16:37:07 +0000 Date: Tue, 17 Dec 2013 16:37:07 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-5466) Dependency on javax.ws.rs-api 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-5466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13850641#comment-13850641 ] Sergey Beryozkin commented on CXF-5466: --------------------------------------- Hi Eugenio, http://svn.apache.org/repos/asf/cxf/tags/cxf-2.7.8/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/utils/JAXRSUtils.java shows that JAXRSUtils.setMessageContentType has no this code in place, must be something with your Maven dependencies Closing this JIRA now Thanks, Sergey > Dependency on javax.ws.rs-api > ----------------------------- > > Key: CXF-5466 > URL: https://issues.apache.org/jira/browse/CXF-5466 > Project: CXF > Issue Type: Bug > Components: Core > Affects Versions: 2.7.8 > Reporter: Eugenio Lentini > Priority: Critical > > Hi, > I am using Apache Olingo 1.1.0-SNAPSHOT which has a dependency on Apache CXF. > As far as I have been told both Apache Olingo and CXF should be implemented against JSR-311 even if javax.ws.rs-api 2.0-M1 is defined. All the dependency on 2.0-M1 should have been removed but I have found this exception in Apache CXF 2.7.5, 2.7.7 and 2.7.8. > java.lang.NoSuchMethodError: javax.ws.rs.core.Response.getHeaders()Ljavax/ws/rs/core/MultivaluedMap; > at org.apache.cxf.jaxrs.utils.JAXRSUtils.setMessageContentType(JAXRSUtils.java:1587) > at org.apache.cxf.jaxrs.utils.JAXRSUtils.convertFaultToResponse(JAXRSUtils.java:1581) > at org.apache.cxf.jaxrs.JAXRSInvoker.handleFault(JAXRSInvoker.java:308) > It seems the code is not properly retro-compatible, could you please have a look? > Thanks a lot for your attention. > Eugenio -- This message was sent by Atlassian JIRA (v6.1.4#6159)