I get an ERROR which indicates an absence of a root resource class in Resource Config.This is my web-service code:
root resource class
Resource Config
public class MapErpS
Annotate your MapErpService class with @Path("/erp") (or a different string).
MapErpService
@Path("/erp")