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

cannot find symbol

 
Yaseen Khan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Im trying to compile my first stand alone hibernate application, a small one and im importing net.sf.hibernate.*; and net.sf.hibernate.cfg.*; packages ....when im compiling , im getting the error message "cannot find symbol........class Configuration and class CD....

Can anyone suggest me how should i approach this and compile successfully.....

Thanks,
yas
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure those classes are on the classpath. Also I assume you are using Hibernate 2 and not Hibernate 3? The package structures are different between the two.
 
Yaseen Khan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks paul. I got the answer. I used net.sf.hibernate.cfg.* instead of org.hibernate.*.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic