Forums Register Login

DriverClassNot found Exception while connecting with the database

+Pie Number of slices to send: Send
Hi,
Iam trying to pass the values to the database oracle. But getting "Driverclassno found exception". Please help me too fix this issue. I checked many times .But didint get.PLzzzzz..
Appreciating any help
+Pie Number of slices to send: Send
Greeting Priya ,
DriverClassNotFoundException refers that your JDBC driver jar is not present on the classpath. I don't know what driver you are using but lets assume that its a mySql driver then you will have to place the mysql-connector.jar on the classpath of your application.
+Pie Number of slices to send: Send
Hi Saif Asif ,

Thanks for your reply. But i have updated the buildpath. Iam using Oracle 10-g database & i updated build path - oracle 14_g. but it showing same exception.




Thanks
PriyaChek
+Pie Number of slices to send: Send
You must have done something incorrectly then, because the only way this error can happen is because the driver class cannot be found.

Make sure you included the JAR file that contains the JDBC driver on the classpath.
+Pie Number of slices to send: Send
Ok..Let me check it.
Thanks for your help guys:)



Thanks
PriyaChek
+Pie Number of slices to send: Send
Just re-check the buildpath entries to make sure nothing is wrong there and that all paths are correct. Thats it. This should resolve your issue .
+Pie Number of slices to send: Send
Now it is working...Thankyou guys for your help:):)
Never trust an airline that limits their passengers to one carry on iguana. Put this tiny ad in your shoe:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 761 times.
Similar Threads
Hibernate.cfg.xml problem - not able to run the java project
iplanet application Builder for EJB
iplanet application Builder for EJB
findByPrimary kEy for CMP raises exception
Failed to start error in Apache Derby
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 04:09:46.