title: Which jars needs to be present in WEB-INF\lib and in .classpath
body: <p>I am converting a regular J2EE application to use Maven. I was able to successfully convert to Maven and I am getting successful "mvn deploy". The issue is facing after deploying the ear to WAS. I am getting
  SRVE0203E :Servlet [action] org.apache.struts.action.ActionServlet is missing another required class.</p>
  
  <p>I had similar problems for different application and after trying couple of "exclusion" of jars I was able to deploy the application successfully in WAS. I have following question.</p>
  
  <ol>
  <li><p>How can we identify what all jars needs to be present in WEB-inf\lib folder?</p></li>
  <li><p>How can we determine, what all jars needs to be present in the .class-path of wars meta-inf.</p></li>
  <li><p>How can we determine that the war will work even if the jar is mentioned in .classpath but not mandatory that it needs to be  present in web-inf\lib (ie classloader will pull from ear instead of war)</p></li>
  </ol>
  
  <p>FYI I am using j2ee 1.4</p>