Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
    Bookmark Topic Watch Topic
  • New Topic

JDBC Driver class not found

 
Santhosh Puttu
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 27
  • Mark post as helpful
  • send pies
  • Report post to moderator
any body ...........
got the solution..........
where ll driver class be located
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Report post to moderator
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?
 
Santhosh Puttu
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hey,

I think the problem is you put:


in your hibernate mapping file when you instead wanted:

Just a guess.

Sean
 
Jan Cumps
Bartender
Posts: 2608
14
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Report post to moderator
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?
 
    Bookmark Topic Watch Topic
  • New Topic