users@jersey.java.net

Re: [Jersey] Issue with samples jersey-snapshot-0.8-ea

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 30 Nov 2009 10:42:07 +0100

Hi Anil,

Jersey 0.8-ea is *very* old.

Try using 1.1.4.1:

   https://jersey.dev.java.net/nonav/documentation/latest/user-guide.html
#chapter_deps

Paul.

On Nov 30, 2009, at 10:35 AM, Anil Kumar Veeramalli wrote:

> Hi,
>
> I downloaded samples as part of jersey-snapshot-0.8-ea.
>
> in the examples javax.ws.rs.ConsumeMime was not recognizing, so I
> added the dependency with jsr311-api.jar.
>
> when I deploy the application, its giving the error
> java.lang.NoClassDefFoundError: javax/ws/rs/core/Application.
>
> so which jar file is required to make application deploy and Test.
>
>
>
> Thanks,
> Anil
>