users@jersey.java.net

Re: [Jersey] ClassNotFound Exception: com.sun.ws.rs.ext.RuntimeDelegateImpl

From: Srinivas Naresh Bhimisetty <shri.naresh_at_gmail.com>
Date: Tue, 14 Sep 2010 11:07:19 +0530

Soumya,

   did you try putting the jersey-bundle in the classpath?

Here's my "find and grep" output in the lib which has the jersey jars:

=====================================================
bash-3.2$ find . -name "*.jar" | xargs grep
com.sun.ws.rs.ext.RuntimeDelegateImpl
Binary file ./jersey-bundle-1.1.5.jar matches

bash-3.2$ jar -tvf jersey-bundle-1.1.5.jar | grep RuntimeDelegateImpl
  1252 Wed Jan 20 16:05:02 IST 2010
com/sun/jersey/server/impl/provider/RuntimeDelegateImpl.class
   895 Wed Jan 20 16:05:00 IST 2010
com/sun/ws/rs/ext/RuntimeDelegateImpl.class
bash-3.2$
======================================================

- Naresh


On Tue, Sep 14, 2010 at 8:50 AM, soumya ramchandran <
soumya.ramchandran_at_gmail.com> wrote:

> Hi -
> I am using Jersey -Client jar to make a REST call form a Jira plugin
> that i wrote , but i get the following error
>
> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> com.sun.ws.rs.ext.*RuntimeDelegateImpl*
>
> I have tried using Jersey client - 1.0.2 and even 1.1.5.1 ...included the
> jersey Server jar , as suggested in some places but the error still remains
> ...whats the exact cause of this problem and solution to this problem?...
> the jsr311-api versions i tried is 1.0 and 1.1 ....
>
> Thanks
>