I have created a simple web application that sends a email. It worked locally on Tomcat as necessary Jar files were on the classpath. But when i uploaded the same war on the Godaddy server on our hosting domain it failed.
My questions are
1. Is it neccessary to include necessary jar file on which my application is dependent in WAR.
2. How can I find out, which JAR files are required at run time so I can add it in lib directory of my application.