fix duplicate binding error using jaxrs