Hi when I try to send POST request using jersey-client[org.glassfish.jersey.core 2.22.1] I got following error. So I read this Question and REST JAX-RS javax.ws.rs.ProcessingException:  so I don't have used [jsr311-api] dependency.but I have added this dependency to my client. 
These are the client dependencies(not all deps).
<dependency>
    <groupId>javax.ws.rs</groupId>
    <artifactId>javax.ws.rs-api</artifactId>
    <version>2.0.1</version>
</dependency>
<dependency>
   <groupId>org.glassfish.jersey.core</groupId>
   <artifactId>jersey-client</artifactId>
   <version>2.22.1</version>
</dependency>
And these are the server side dependencies
    <dependency>
        <groupId>javax.ws.rs</groupId>
        <artifactId>javax.ws.rs-api</artifactId>
        <version>2.0.1</version>
    </dependency>
    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http-jetty</artifactId>
        <version>3.1.5</version>
    </dependency>
And this is the error.
[javax.ws.rs.ProcessingException: java.lang.NoSuchMethodError: javax.ws.rs.core.Response$Status$Family.familyOf(I)Ljavax/ws/rs/core/Response$Status$Family;
I know this is issue with dependency version mismatch .Can anyone tell me how to resole this problem.