Hi All, I'm working on the Reporting REST module, and I'm running into a problem that I'm hoping someone has seen before and solved...
I've got a new module that depends on both Reporting, and Web Services.REST. In this module I have a Controller that extends BaseCrudController, and some of the code in that base class does Context.getService(RestService.class). However that line is throwing this exception: org.openmrs.api.APIException: Service not found: interface org.openmrs.module.webservices.rest.web.api.RestService at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:703) at org.openmrs.api.context.Context.getService(Context.java:930) at org.openmrs.module.webservices.rest.web.v1_0.controller.BaseCrudController.getResource(BaseCrudController.java:55) at org.openmrs.module.webservices.rest.web.v1_0.controller.BaseCrudController.search(BaseCrudController.java:150) at ... Has anyone seen this before? Is there a bug in our classloading for dependent modules? (I'm currently using a pretty recent 1.8.x core.) -Darius _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to [email protected] with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

