users@jersey.java.net

[Jersey] Re: asm.jar not needed for custom application?

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Thu, 13 Jan 2011 12:13:33 +0100

On Jan 13, 2011, at 11:59 AM, Markus Karg wrote:
> Hello Jersey Community,
>
> I need to use Jersey in a non-Java EE project so I have to add JARs
> to my classpath manually.
>
> On the web site http://jersey.java.net/nonav/documentation/latest/chapter_deps.html#core_server
> it is told that asm.jar is only needed when using
> ClasspathResourceConfig.

More specifically anything that extends from
com.sun.jersey.api.core.ScanningResourceConfig.


>
> So is it correct that I can omit asm.jar in case I am not using asm
> on my own, and I am providing my own implementation of
> javax.ws.rs.core.Application?
>

Yes.

Paul.