users@glassfish.java.net

Re: Problem using Jersey in conjunction with Hibernate

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 11 Feb 2008 13:06:26 +0100

Hi Alexander,

Please see here:

https://jersey.dev.java.net/servlets/SearchList?list=users&searchText=hibernate&defaultField=subject&Search=Search

And specifically:

https://jersey.dev.java.net/servlets/ReadMsg?listName=users&msgNo=368

Hope his helps,
Paul.

glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109