I just got bit by the same problem.
Copy hibernate-annotations.jar and ejb3-persistence.jar to
${JBOSS_HOME}/server/default/lib. (Not sure why that second one is necessary, but if
it's just in your application's lib directory, it won't work.) In other words,
all your Hibernate-related classes have to be loaded from the same place.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4022703#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...