Eugenio Lentini created CXF-5466:
------------------------------------

             Summary: 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)

Reply via email to