users@jersey.java.net

Re: [Jersey] Re: automatic resource registration and guice

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 04 Jun 2010 10:54:36 +0200

Hi Christopher.

I cannot see anything obviously wrong from your emails.

Is it possible to send me a simple reproducible maven project?

Paul.

On Jun 2, 2010, at 11:19 PM, Christopher Piggott wrote:

> On Wed, Jun 2, 2010 at 3:51 PM, I wrote:
>
>> 3. My class is registered by me doing this:
>>
>> params.put(PackagesResourceConfig.PROPERTY_PACKAGES,
>> RootResource.class.getPackage().getName());
>> serve("/*").with(GuiceContainer.class, params);
>
> Looks like PackagesResourceConfig isn't getting instantiated/called
> at all.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>