Link to home
Start Free TrialLog in
Avatar of fpoyavo
fpoyavoFlag for United States of America

asked on

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.
Avatar of copyPasteGhost
copyPasteGhost
Flag of Canada image

do you have the driver file

com.sybase.jdbc2.jdbc.SybDriver

in this folder

web-inf/classes/lib/driver.jar

Ghost
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
Avatar of fpoyavo

ASKER

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 ?
what server are you using now?
Ghost
Avatar of jkna_gunn
jkna_gunn

have you tried putting the JAR inside your WEB-INF/Lib folder in your web archive
Avatar of fpoyavo

ASKER

Yep. I did.
ASKER CERTIFIED SOLUTION
Avatar of copyPasteGhost
copyPasteGhost
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial