Getting Error when deploying on Tomcat

311 views Asked by At

I have already compiled my application, when I am running it in web mode from Eclipse everything is working perfectly fine, no error at all. In my project, i'm using several libraries such as hibernate. All libraries have been correctly been placed on the classpath as well as in the lib folder in web-inf.

however when i'm deploying it on tomcat, i'm getting several problem, first no data is being loaded from database. I was using a lib for capcha at http://www.javacodegeeks.com/2010/06/add-captcha-gwt-application.html. That also is not working well

I am also trying it on Jetty with the same problem

Can someone please help, i've got to deploy this system??

2

There are 2 answers

0
Xorty On BEST ANSWER

Be sure to include all required libraries in your /war/WEB-INF/lib folder

2
Noor On

Yes, it was a problem of lib, whenever deploying your app on the server, make sure that u have the required libs that r on your classpath in the folder webinf/lib.