I am new to Java application based on Hibernate technology. I get some problems in installing my system. I am installed in my friends system. I installed JBOSS Tools (in that only Hibernate tools) in Eclipse Juno (Portable).
I just copied that folder in to my system and I run the Eclipse.exe file and it runs smooth and I am trying to create new Hibernate Configuration file in hibernate perspective.
But I got below error:
Class path must be set or restored default
You need to add the database driver to your classpath
1) Download the driver for your database (e.g. if you are trying to connect to MySQL you can get it from http://dev.mysql.com/downloads/connector/j/ )
2) Point to it by clicking 'Add external jars' and selecting it from the place you downloaded it to OR First add it to the project, and then select it by through 'Add Jars' (recommended)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With