title: Tomcat can't access jar library referenced by my library in WEB-INF/lib
body: <p>I am developing web application using Tomcat 7. It uses my MyLib.jar that is placed under
  webapps\MyApplication\WEB-INF\lib. This library is successfully loaded by Tomcat. The problem is with libraries that are needed by MyLib.jar (let's say A.jar and B.jar).</p>
  
  <p>While creating MyLib.jar I added MANIFEST with Class-path: otherLibs\A.jar otherLibs\B.jar (which are placed under webapps\MyApplication\WEB-INF\lib\otherLibs).</p>
  
  <p>What is interesting, MyLib.jar can be run from command line without any problems.</p>
  
  <p>It all works for me when I copy A.jar and B.jar to \lib directory. I just don't want to put them there to keep Tomcat installation clean.</p>
  
  <p>Maybe I need to specify extra class path for MyApplication? Maybe globally for Tomcat? How then? Please provide any suggestions.</p>
  
  <p>EDIT:
  Strange. I run some additional tests. I changed classpath of MyLib.jar to "A.jar B.jar" (without otherLibs directory), put A.jar and B.jar next to MyLib.jar and now it works fine. It works for me, but could you tell me why it is not working with "otherLibs" directory?</p>