This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC and the fly likes JDBC Driver class not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

JDBC Driver class not found

Santhosh Puttu
Greenhorn

Joined: Jun 08, 2010
Posts: 27
i m beginner....
facing error like:
-------------------------------------------------------------------------------------------------------------------
Stack Trace:

--------------------------------------------------------------------------------------------------------------------------------

HIBERNATE.CFG.XML:


-----------------------------------------------------------------------------------
HibernateSessionFactory.java



--------------------------------------------------------------------------------------------------------------------
IbaseHibernate.java



-------------------------------------------------------------------------------------------------------------

AddUser.hbm.xml


--------------------------------------------------------------------------------------------------------------------

AddUserAction.java


----------------------------------------------------------------------------------------------------

AddUserDao.java



-------------------------------------------------------------------------------------
and Form Beans AddUserForm.java and
AddUser.java contains other setter getter methods......




Santhosh Puttu
Greenhorn

Joined: Jun 08, 2010
Posts: 27
any body ...........
got the solution..........
where ll driver class be located
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41046
    
  43
where ll driver class be located

That's a question for you: where is the jar file containing the driver, and how are you adding it to the classpath?


Ping & DNS - my free Android networking tools app
Santhosh Puttu
Greenhorn

Joined: Jun 08, 2010
Posts: 27
hello, i made a connection to jdbc,
and made changes in AddUserDAO as:


and facing error as :

...
where am i doing wrong ?
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,

I think the problem is you put:


in your hibernate mapping file when you instead wanted:

Just a guess.

Sean


I love this place!
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2491
    
    8

Santhosh Puttaswamy wrote:hello, i made a connection to jdbc,
and made changes in AddUserDAO as:where am i doing wrong ?...


Santosh, this is a new question, and it is not jdbc related.
Can you please create a new thread for this new question?

OCUP UML fundamental and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC Driver class not found
 
Similar Threads
java.net.SocketException: Broken pipe
Error Creating SessionFactory
Duplicate Hibernate mapping exception
WebSphere 8 - Unable to locate current JTA transaction
basic app Hibernate