Some litreture on internet mention its the jar problem and in my case it is. I have ejb3-persistence.jar and hibernate3.jar both of which have this class and hence the conflict.
However as the solutions suggested on the internet( remove one of them) I can't remove either one of them as, I need the javax.persistence packages for all my annotations and hibernate of the orm stuff.
I am completely stuck here and need some help.
Can some please suggest a combination or solution to this?