[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Strange IllegalAccessError with JBoss + Hibernate
Mike Baranczak
do-not-reply at jboss.com
Mon Feb 26 16:59:33 EST 2007
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#4022703
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4022703
More information about the jboss-user
mailing list