I have deployed a JSF application (say App1) in Tomcat and it's working fine. But if I deploy the same application (App1) I got some error. So I removed jsf*.jar and servlet.jar files in the App1.war file and deployed the same in Jboss, so it also worked fine.
Now I have another application (say App2). I followed the same procedure. It's working in Tomcat and not working in JBoss. It's giving java.lang.NoClassDefFoundError. Any idea?