title: ClientBuilder class not found
body: <p>I am trying to build a RESTFul client using Jersey framework, so I added the following class:</p>
  
  <pre><code>import javax.ws.rs.client.Client;
  import javax.ws.rs.client.ClientBuilder;
  
  public class ActivityClient {
      private Client client;  
      public ActivityClient(){        
          client = ClientBuilder.newClient();
      }   
          //...code
  }
  </code></pre>
  
  <p>but I am getting an error class ClientBuilder not found, even though I have the following jars under WEB-INF/lib and under the application class path:</p>
  
  <pre><code>asm-3.1.jar
  jackson-core-asl-1.9.2.jar
  jackson-jaxrs-1.9.2.jar
  jackson-mapper-asl-1.9.2.jar
  jackson-xc-1.9.2.jar
  jersey-client-1.17.1.jar
  jersey-core-1.17.1.jar
  jersey-json-1.17.1.jar
  jersey-server-1.17.1.jar
  jersey-servlet-1.17.1.jar
  jettison-1.1.jar
  jsr311-api-1.1.1.jar
  </code></pre>
  
  <p>So can someone please tell me which jar I am missing here? and where I can find it? I have searched the web and the only jar I found that has ClientBuilder is related to the RESTEasy framework, so I don't think that it is related.</p>
  
  <p>Thanks for your time</p>