Jersey @PathParam : contains multiple parameters with no annotation
<p>The following is my method signature which I am using in Jersey , when I debug/run the program I am getting error as :    </p>

<blockquote>
  <p>[[FATAL] Method public javax.ws.rs.core.Response com.xxxx.xxxxx.Xxxxx.xxxxx.xxxxxxxx(java.lang.String,java.lang.String,java.lang.String,javax.ws.rs.container.ContainerRequestContext) on resource class com.xxxxxx.xxxxx.xxxxxx.xxxxxx contains multiple parameters with no annotation.</p>
</blockquote>

<p>My code:</p>

<pre><code>@PUT
@Path("/user/{user}/{role}")
@Consumes({MediaType.APPLICATION_JSON,MediaType.TEXT_PLAIN})
@Produces("application/json")

public Response myFunction(@PathParam("user") String user,
    @PathParam("role") String role,
    String rawData,
    @Context ContainerRequestContext crc) {

}
</code></pre>

<p>What I am doing wrong here.</p>

<p>Thank you</p>