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.
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.
How can we identify what all jars needs to be present in WEB-inf\lib folder?
How can we determine, what all jars needs to be present in the .class-path of wars meta-inf.
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)
FYI I am using j2ee 1.4