users@jersey.java.net

[Jersey] Re: Bizarre stack trace with jersey-client

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Tue, 25 Jan 2011 15:24:35 +0100

On Jan 21, 2011, at 10:41 AM, Mewel wrote:

>
> Thanks for your answer Paul.
>
> What testframework should i use to deal with servlet 3.0 and jersey?
>

Probably external test deployment to either GF or another compliant
Servlet 3 impl (dunno if Jetty or Tomcat 7 support Servlet 3).


> You say that the EE jar is only for compiling, but changing the
> scope to
> compile
> doens't change anything? Did i miss something here?
>

Use the "provided" scope, which means compile against this jar but do
not include in the war, because the jar is provided by the runtime.

Paul.