So when you are creating the jar file, open the jar file and check if the jar file contains the required jar's needed for your app.
As you are saying that, its working in your local system, so the issue is only with the same jar is not getting exported with the jar you are creating for the server or...