This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
    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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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: 42974
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: 2651
18
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?
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!