Solved

Driver class problem

Posted on 2004-04-27
7
284 Views
Last Modified: 2010-04-01
Hi Experts,

I ve got

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

Please help.
0
Comment
Question by:fpoyavo
7 Comments
 
LVL 13

Expert Comment

by:copyPasteGhost
ID: 10931294
do you have the driver file

com.sybase.jdbc2.jdbc.SybDriver

in this folder

web-inf/classes/lib/driver.jar

Ghost
0
 
LVL 19

Expert Comment

by:Kuldeepchaturvedi
ID: 10931908
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
 
LVL 1

Author Comment

by:fpoyavo
ID: 10932423
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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 13

Expert Comment

by:copyPasteGhost
ID: 10932429
what server are you using now?
Ghost
0
 
LVL 6

Expert Comment

by:jkna_gunn
ID: 10936880
have you tried putting the JAR inside your WEB-INF/Lib folder in your web archive
0
 
LVL 1

Author Comment

by:fpoyavo
ID: 10939480
Yep. I did.
0
 
LVL 13

Accepted Solution

by:
copyPasteGhost earned 500 total points
ID: 10939534
try checking the errors on your webserver for an idea of what's going on
Ghost
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exception creating bean of class 5 200
gZip compression filter 2 174
runtime exception and error differences 4 84
login jsp example 24 65
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Some of the SEO trends we might expect in 2017.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question