Hi all,
Just ran into the following exception. Can someone tell help me there is
something wrong with this syntax? I am using Jersey 0.8 in Glassfish v2
com.sun.enterprise.deployment.backend.IASDeploymentException:
ContainerBase.addChild: start: LifecycleException:
java.util.regex.PatternSyntaxException: Illegal repetition near index 0
/{mediaId,entityId}/
@Path("{mediaId,entityId}/")
public ImageResource getImageResource(@PathParam("mediaId") Long
mediaId, @PathParam("entityId") Long entityId) {
return new ImageResource(mediaId,entityId,request, httpHeaders);
}
Thanks Ben