title: java.lang.NoClassDefFoundError: Could not initialize class io.restassured.RestAssured
body: <p>I am getting the below error. Kindly, help. </p>
  
  <p>Stack trace:</p>
  
  <pre><code>java.lang.NoClassDefFoundError: Could not initialize class io.restassured.RestAssured
    at netbanking.pages.APIResponsePages.&lt;init&gt;(APIResponsePages.java:24)
    at netbanking.module.PassbookModule.validateUITransactionsWithAPI(PassbookModule.java:219)
    at testcases.singleuser.PassbookTest.test8validateAPIresponse(PassbookTest.java:157)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108)
  </code></pre>
  
  <p>I tried to update compile in pom.XML file dependencies with no effect.
  Also, uploaded all the jars for restAssured, also with no effect.</p>