0

i am writing my first example on hibernate .... i am getting error while configuring.... i am using netbeans.....

my hibernate.cfg.xml file enter image description here

I am getting this error... i am using mysql as DB in backend enter image description here

I added mysql driver in classpath , still error persist.... enter image description here

4
  • You probably need to register the driver first: netbeans6.blogspot.co.uk/2008/03/… Commented Feb 9, 2014 at 16:27
  • Thanks... i did the steps... i can access from IDE .. but still i am getting same error when i am trying to create Student.hbm.xml. Commented Feb 9, 2014 at 16:45
  • Probably it's the same reason, just this time you need to register the driver for the application. Take a look at this question. stackoverflow.com/questions/19319712/… The hibernate.cfg.xml points to the mysql driver and it shuld be in the classpath. Commented Feb 9, 2014 at 17:47
  • Post your spring configuration files. Commented Feb 10, 2014 at 8:21

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.