Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse-hibernate error

 
santosh me
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hie..I'm a beggineer..I have just started with a basic hibernate application using eclipse helios ide.I have created a HibernateUtil class and I'm getting the error "the import org.hibernate.SessionFactory cannot be resolved".please helpme with this.
 
Arun Kumarr
Ranch Hand
Posts: 661
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to add necessary hibernate jars to your classpath.
 
santosh me
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi...I have already added the following jars to the libraries

01.antlr-2.7.6
02.commons-collections-3.1
03.dom4j-1.6.1
04.hibernate3
05.hsqldb
06.javassist-3.4.GA
07.jta-1.1
08.slf4j-api-1.5.6
09.slf4j-simple-1.5.6
10.hsqldb plugin


But still im getting the error.Do i need to add some other specific jar?I'm using the hsql database.
Thanks..
 
Arun Kumarr
Ranch Hand
Posts: 661
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the Problems View in eclipse. It might give you more information.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic