users@glassfish.java.net

Problem using Jersey in conjunction with Hibernate

From: <glassfish_at_javadesktop.org>
Date: Mon, 11 Feb 2008 03:56:23 PST

Hi there.

I am using hibernate for a while now without any (bigger) problems.
Now I am trying to work out RESTful Webservices with project jersey.

It seems that hibernate wich depends on ASM framework (asm.jar, asm-attrs.jar) and jersey which depends on ASM too (asm V3.1 as of asm-3.1.jar) are having problems with the asm implementation versions.

When using asm.jar, jersey is missing a method in [i]org.objectweb.asm.ClassVisitor[/i]. When using asm-3.1.jar as of the jersey distribution, hibernate complains about missing class [i]net.sf.cglib.proxy.Enhancer[/i] which is provided in cglib-2.1.3.jar.

Both Libraries are using cglib.jar.

Does anyone out there has got it running?

Alexander.
[Message sent by forum member 'sahlix' (sahlix)]

http://forums.java.net/jive/thread.jspa?messageID=258314