On Aug 13, 2009, at 8:29 PM, Craig McClanahan wrote:
>> I had tried this one, having seen it in one of your email responses
>> acquired through a Google search, but it didn't seem to get
>> recognized. That might be because I used
>> PackagesResourceConfig ... I will try it with DefaultResourceConfig
>> instead.
> For the record, this was my problem ... it works with
> DefaultResourceConfig but fails with PackagesResourceConfig. That's
> fine for my use case (I want Guice to supply all my root resource
> and provider classes), but might be a problem for someone who wants
> a mixed bag.
>
That is odd. Can you share some code?
Are you doing something like the following:
Injector i = ...
PackagesResourceConfig prc = ...
GuiceComponentProviderFactory gcpf = new
GuiceComponentProviderFactory(prc, i);
Paul.