views:

28

answers:

2

I'm using hibernate & I got this error during compilation,so plz help me

package org.hibernate.cfg does not exist
   import org.hibernate.cfg.Configuration;
A: 

Did you add the hibernate jar in the build path. Because compiler is not able to find the jar which has this package. So add it and try. Are you using any IDE??

GK
A: 

It seems you don't have hibernate.jar in your classpath.

Riduidel