title: Exception in thread "main" java.lang.NoClassDefFoundError: javapasswords in Linux
body: <p>i have code like this,</p>
  
  <pre><code>import javapasswordsdk.PSDKPassword;
  import javapasswordsdk.PSDKPasswordRequest;
  import javapasswordsdk.exceptions.PSDKException;
  
  etc.............
  </code></pre>
  
  <p>I am getting below error, it is taking javapasswordsdk.PSDKPassword;
  javapasswordsdk.PSDKPasswordRequest but not taking javapasswordsdk.exceptions.PSDKException</p>
  
  <p>All these class in one jar file. My question is why it is taking to why cant it other.</p>
  
  <p>please clarify asap.</p>
  
  <pre><code> Exception in thread "main" java.lang.NoClassDefFoundError:javapasswordsdk/exceptions/PSDKException
      at beans.MigrateData.main(Unknown Source)
   Caused by: java.lang.ClassNotFoundException: javapasswordsdk.exceptions.PSDKException
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      ... 1 more
  </code></pre>