title: WEB-INF/lib jars not found in JBoss 4.0.2 war deploy
body: <p>I have a simple web application (one jsp and one servlet) file that I've copied into jboss-4.0.2/server/default/deploy folder and it has successfully hot deployed as I can access the jsp page. However, when I invoke the servlet, I am getting a java.lan.NoClassDefFoundError.</p>
  
  <p>I suspect that the jars under the WEB-INF/lib directory within the war is not being picked up.</p>
  
  <p>The structure of my war is:</p>
  
  <pre><code>META-INF  
    --&gt;  MANIFEST.MF  
  WEB-INF  
    --&gt;  classes  
            --&gt; ...*.classes  
    --&gt;  lib  
            --&gt; jcommon-1.0.16.jar  
                jfreechart-1.0.13.jar  
                servlet-api.jar  
  index.jsp  
  </code></pre>
  
  <p>Anybody else have classloading issues in JBoss 4?</p>
  
  <p>Many thanks.</p>