Solved

Driver class problem

Posted on 2004-04-27
7
291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

The conference as a whole was very interesting, although if one has to make a choice between this one and some others, you may want to check out the others.  This conference is aimed mainly at government agencies.  So it addresses the various compli…
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

717 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