Forums Register Login

Regarding including jar files for directory

+Pie Number of slices to send: Send
Hi friends,

In my web application , directory structure is


Some of the jsp files are in ROOT folder and some jsp files are in ZSOR folder.The jsp files in ROOT folder are working fine.I am getting problem with the jsp files in ZSOR folder.I am getting error of

java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver .This driver is used to connect to mysql database.I copied the jar file in lib folder of ZSOR.

Note:I am using Tomcat,Mysql,linux.

Please help me to sort our this issue.

Regards
+Pie Number of slices to send: Send
ROOT and ZSOR are separate web applications that have nothing to do with each other. Each needs to have the jar files that they need in each of their own folders.
+Pie Number of slices to send: Send
I copied all the jar files for ZSOR folder files in ZSOR folders lib
+Pie Number of slices to send: Send
Are you sure that the jar file contains the driver class?
+Pie Number of slices to send: Send
yes it contains Driver files.
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 988 times.
Similar Threads
jar file not accessible in war file
taglib
Mock Exam Doubts
Database driver not found
Folder Structure
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 18:41:48.