title: Class incompatible with same class in java
body: <p>I am using WebSphere application server. At a point I am getting an error that is: </p>
  
  <pre><code>com.savvion.sbm.dms.svo.Document incompatible with com.savvion.sbm.dms.svo.Document.
  </code></pre>
  
  <p>I have searched on net and found that error cause is same class load by different classloader in java.</p>
  
  <p>How to prevent class loading with different classloader. or alternative solution.</p>