title: NoClassDefFoundError thrown even when required class is present in classpath
body: <p>Trying to run jar program and getting class not found error. </p>
  
  <p>As shown in the figure, I have packaged all my dependent jar under lib folder and packaged it inside jar file. 
  <img src="https://i.stack.imgur.com/snXgi.png" alt="enter image description here"></p>
  
  <p><strong>Contents of lib directory:</strong> </p>
  
  <p><img src="https://i.stack.imgur.com/5o9Em.png" alt="enter image description here"></p>
  
  <p>In my manifest.mf file i have</p>
  
  <pre><code>Manifest-Version: 1.0
  Class-Path: .\lib\arapi63.jar;.\lib\spring.jar;.\lib\commons-logging.j
   ar;.\lib\log4j.jar;..\conf;.\lib\ojdbc14.jar
  Created-By: 1.5.0_12 (Sun Microsystems Inc.)
  Main-Class: RemedyRecord
  </code></pre>
  
  <p>when i try to run this jar using </p>
  
  <pre><code>    java -jar remedyDSTX.jar 
      Exception in thread "main" java.lang.NoClassDefFoundError:    
                               com/remedy/arsys/api/ARException
  </code></pre>
  
  <p>No ARException class is present in arapi63.jar which is present in my classpath and so am not sure why is that not referenced here...any thoughts?</p>
  
  <p><strong>Update:</strong></p>
  
  <pre><code>Manifest-Version: 1.0
  Class-Path: lib/arapi63.jar;lib/spring.jar;lib/commons-logging.jar;lib
   /log4j.jar;lib/ojdbc14.jar
  Created-By: 1.5.0_12 (Sun Microsystems Inc.)
  Main-Class: RemedyRecord
  </code></pre>
  
  <p>I updated my manifest as per Jon's comment below but still am getting same error message. </p>