aspose file tools*
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
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: 41900
    
  63
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: 2500
    
    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
 
Don't get me started about those stupid light bulbs.
 
subject: JDBC Driver class not found