I'm getting an issue in my service. Below is my Service
@POST
@Path("/config")
@Consumes(MediaType.APPLICATION_JSON)
public Response saveConfiguration(String name, MultivaluedMap<String,
  Object> properties) {
     return Response.ok().build();
}
And my test case is:
String payload = "{"name": "CRJ001", 
  "properties": {"expression": ["a + b"], 
  "baseClass": ["org.carlspring.strongbox.crontask.test.MyTask"]}}";
WebTarget resource = client.getClientInstance().target(path);
Response response = resource.request(MediaType.APPLICATION_JSON).
   post(Entity.entity(payload, MediaType.APPLICATION_JSON));
int status = response.getStatus();
assertEquals("Failed to save!", Response.ok().build().getStatus(), status);
But I'm getting:
[[FATAL] Method public javax.ws.rs.core.Response org.abc.rest.ConfigurationRestlet.
  saveConfiguration(java.lang.String,javax.ws.rs.core.MultivaluedMap) 
  on resource class org.abc.rest.ConfigurationRestlet contains multiple
  parameters with no annotation. Unable to resolve the injection source.;
Please help me this out
 
     
    