cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5466) Dependency on javax.ws.rs-api
Date Tue, 17 Dec 2013 16:37:07 GMT

    [ 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)

Mime
View raw message