title: Cannot instantiate the type ResteasyClientBuilder
body: <p>I am trying to build a simple Resteasy client, using proxy framework. I am getting a error, &quot;Cannot instantiate the type ResteasyClientBuilder&quot;.
  This is the Client class.</p>
  <pre><code>package com.RestClient.Clients;
  import javax.ws.rs.core.Response;
  import javax.ws.rs.core.UriBuilder;
  import org.jboss.resteasy.client.jaxrs.ResteasyClient;
  import org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder;
  import org.jboss.resteasy.client.jaxrs.ResteasyWebTarget;
  
  import com.RestClient.Models.Student;
  
  public class ClientClass {
      ResteasyClient client;
      ResteasyWebTarget base_target,student_target;
      ClientInterface proxy;
      public ClientClass() {
          client = new ResteasyClientBuilder().build();&lt;---------error
          base_target = client.target(UriBuilder.fromPath(&quot;http://localhost:8080/demorest/webresources/&quot;));
          student_target = base_target.path(&quot;students&quot;);
      }
      public int registerStudent(Student s) {
          Response res = proxy.createStudent(s);
          return res.getStatus();
          
      }
  }
  </code></pre>
  <p>I was following <a href="https://www.baeldung.com/resteasy-client-tutorial" rel="nofollow noreferrer">this</a> tutorial.</p>