users@jersey.java.net

[Jersey] Re: Jersey 1.5 won't start

From: Martin Matula <martin.matula_at_oracle.com>
Date: Tue, 25 Jan 2011 21:00:37 +0100

Hi James,

On Jan 25, 2011, at 7:23 PM, James Jones wrote:

> @Path("/service")
> @PerSession
> @Produces("some output type")
> public class MyResource extends MyBaseResource {
>
> public MyResource(@Context UriInfo uriInfo, @Context
> HttpServletRequest request, @Context Response response){
> super(request);
> }
>
> So, it can't figure out the javax.rs.ws.core.Response dependency?

Right, injecting Response does not make sense in this context. What is
your intent?
Martin