I have found out that "Hibernate cannot be combined with the reference implementation of JAX-RS." on the link http://lists.jboss.org/pipermail/hibernate-issues/2009-May/015628.html
So i am unable to combine JAX-RS (jersey) with hibernate, does anybody know a work around for this ?
The root of evil is cglib. Substitute cglib-2.1.3.jar to cglib-nodep-2.1_3.jar and delete hibernate's asm*.jar files.
2.1m questions
2.1m answers
60 comments
57.0k users