I am attempting to implement Hibernate Annotations and experiencing great difficulty in getting this to run within JBoss.
The software and versions I am using are:
JBoss 4.0.5
Hibernate 3.2.2.ga
Hibernate Annotations 3.3.0.ga
Hibernate Commons Annotations 3.0.0.GA
EJB Persistence 3.0
I believe all the versions match up according to the Compatibility Matrix. However, I am getting the following error:
Code:
java.lang.IllegalAccessError: tried to access method org.hibernate.cfg.Mappings.<init>
Do I have a conflict somewhere within JBoss? I am able to run my application just fine outside of JBoss when performing unit and functional tests. Yet, once I deploy and start JBoss, I get the error above.
Any ideas or suggestions would be greatly appreciated.
Thanks in advance!
Blaine