If the JAX-RS resource contains @PathParams like:
@GET @Path("/resume/${pid}") public String resume(@PathParam("pid") String pid)
REST reference binding generates the url with an extra slash which causes the reference call to fail: /resume//1