• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Regarding including jar files for directory

 
priya pillai
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
priya pillai
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I copied all the jar files for ZSOR folder files in ZSOR folders lib
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that the jar file contains the driver class?
 
priya pillai
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes it contains Driver files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic