Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

JDBC Driver class not found  RSS feed

 
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
 
Rancher
Posts: 42975
76
  • 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 ?
 
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
 
Bartender
Posts: 2633
17
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
Boost this thread!