title: $Proxy92.<method-name> not avilable
body: <p>During runtime my application is throwing</p>
  <pre><code>java.lang.ClassCastException: java.lang.String cannot cast to &lt;CustomDTO&gt;
  </code></pre>
  <p>It is not invoking the actual method but instead it is invoking a <code>com.proxy.$Proxy106.&lt;MethodName&gt;</code>.</p>
  <p>I'm not sure why it is invoking some proxy method instead of original method. When I have gone through some posts about this issue, I found that it is a class loader issue (generating two copies of the same class). However, I didn't understood why it is creating multiple copies and calling the proxy method instead of the original one.</p>
  <p>Any possible solutions for this kind of issue?</p>