title: Constructor - cannot be applied to given types - required: no arguments
body: <p>I know this question has been asked so many times but I didn't really still understand why am I facing this issue. Answers provided in the blogs and posts, are already implemented in my code and I am still facing this issue(or I am still not able to figure out why my code compilation is failing)</p>
  
  <pre><code>public class Utilities {
     public Client client = null;
     private static object x = null;
  
     public Utilities(Client client) throws Exception {
        this.client = client;
        //CODE GOES HERE
     }
  }
  </code></pre>
  
  <p>I am calling this class in other files as, <code>Utilities utile = new Utilities(client);</code>
  When I compiled this code, I am getting below error,</p>
  
  <pre><code>constructor Utilities in class Utilities cannot be applied to given types
  required: no arguments
  found: Client
  reason: actual and formal argument lists differ in length
  </code></pre>
  
  <p>After going through couple of forum posts and blogs, I added default contractor , now my code looks like,</p>
  
  <pre><code>public class Utilities {
     public Client client = null;
     private static object x = null;
  
     private Utilities() {
        super();
        // TODO Auto-generated constructor stub
     }
  
     public Utilities(Client client) throws Exception {
        this.client = client;
        //CODE GOES HERE
     }
  }
  </code></pre>
  
  <p>But still the same error. Any clue what am I doing wrong here.</p>