Noor
Noor

Reputation: 20130

Getting Error when deploying on Tomcat

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??

Upvotes: 0

Views: 297

Answers (2)

Xorty
Xorty

Reputation: 18861

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

Upvotes: 1

Noor
Noor

Reputation: 20130

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.

Upvotes: 0

Related Questions