users@jersey.java.net

Re: [Jersey] Q: Regarding Jersey Client

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Tue, 12 Oct 2010 13:32:21 +0200

Hi,

All stuff is on the maven repo and also linked to here:

   https://jersey.dev.java.net/nonav/documentation/1.1.5/user-
guide.html#core_client

You cannot intermix jersey jars of different versions, all jersey jars
need to use the same version.

Jersey 1.2 was the last release that was supported on SE 5 and SE 6.
 From 1.3 onwards only SE 6 is supported.

Paul.

On Oct 11, 2010, at 6:05 AM, Rajinder Bindra wrote:

> Hi ,
>
> I am using JERSEY-XXX-1.1.5.jars to build restful application as
> Jersey-XXX-1.3.jars are not compatible jre 6.1 , java SE 5 and
> webspehere6.1 servers .
>
> Could you please tell me from where I get Jersey-client-1.1.5.jar .
> I have other Jersey-XXX-1.1.5 jars and also having Jersey –XXX-1.3
> jars but I am looking for this (Jersey-client-1.1.5.jar) specific one.
>
>
> Also is there a way I can create client using Jersey-Client-1.3.jars
> but I have application builded using Jersey-XXX-1.1.5 .
>
> When I am running the test program its giving me unsupported version
> exception .
>
> The java class could not be loaded.
> java.lang.UnsupportedClassVersionError: (com/sun/jersey/api/client/
> config/ClientConfig) bad major version at offset=6
>
>
> Any input would be helpful.
>
>
>
> Thanks,
>
> Rajinder Bindra
>
> 309-766-3467(desk)
>
> 402-218-6080(cell)
>
>