• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate with annotation

 
anish jain
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Now I want to implement Hibernate using annotations. But while doing so I am getting some errors i.e. NoClassDefFoundError which most probably due to some jars' version compatibility issue.

Could you please tell me what all jars required for this? Please mention the version of the jar required.
 
Raaja Gotluru
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Please add these jars

hibernate-annotations.jar
ejb3-persistence.jar
hibernate-commons-annotations.jar

Hope this will help

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic