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

user3265739
  • 55
  • 1
  • 10
  • You probably need to register the driver first: http://netbeans6.blogspot.co.uk/2008/03/registering-database-in-netbeans-ide.html – Augusto Feb 09 '14 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. – user3265739 Feb 09 '14 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. http://stackoverflow.com/questions/19319712/hibernate-classnotfoundexception-com-mysql-jdbc-driver The hibernate.cfg.xml points to the mysql driver and it shuld be in the classpath. – Evgeni Dimitrov Feb 09 '14 at 17:47
  • Post your spring configuration files. – M. Deinum Feb 10 '14 at 08:21

0 Answers0