users@jersey.java.net

[Jersey] Re: Interface as a resource

From: Cem Koc <cemalettin.koc_at_gmail.com>
Date: Wed, 23 Mar 2011 12:01:04 -0700 (PDT)

I understood my mistake. I was also using Spring but resources was managed
by Jersey instead. It was because of this.

Thanks


On 23 March 2011 17:49, zzantozz [via Jersey] <
ml-node+6200741-1508146937-37103_at_n2.nabble.com> wrote:

> I use jersey-spring and let Spring manage my resource classes and other
> providers. Doing it that way "just works". I'm afraid I've never looked at
> the helloworld sample, so I can't give you specific advice, but it sounds
> like you're telling Jersey to instantiate TestInterface, which certainly
> won't work. What happens when you give it your concrete class instead?


--
View this message in context: http://jersey.576304.n2.nabble.com/Interface-as-a-resource-tp6195227p6201531.html
Sent from the Jersey mailing list archive at Nabble.com.