Driver class problem

Hi Experts,

I ve got

"Class com.sybase.jdbc2.jdbc.SybDriver not found.   jdbcDriver = new com.sybase.jdbc2.jdbc.SybDriver();

Please help.
LVL 1
fpoyavoAsked:
Who is Participating?
 
copyPasteGhostConnect With a Mentor Commented:
try checking the errors on your webserver for an idea of what's going on
Ghost
0
 
copyPasteGhostCommented:
do you have the driver file

com.sybase.jdbc2.jdbc.SybDriver

in this folder

web-inf/classes/lib/driver.jar

Ghost
0
 
KuldeepchaturvediCommented:
you should be having your driver class in your class path of the web app...
as copyPaste is saying check if you have your driver in the lib folder
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

 
fpoyavoAuthor Commented:
I copied ojdbc.jar in there but still getting this error. It is strange because exactly this page runs fine on another server using this driver.

Any ideas ?
0
 
copyPasteGhostCommented:
what server are you using now?
Ghost
0
 
jkna_gunnCommented:
have you tried putting the JAR inside your WEB-INF/Lib folder in your web archive
0
 
fpoyavoAuthor Commented:
Yep. I did.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.