Darius, If this problem does not happen on 1.9, then i suspect we may need to back port TRUNK-2849 to 1.8
On Tue, Feb 21, 2012 at 9:09 AM, Darius Jazayeri <[email protected]>wrote: > 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 > ------------------------------ > Click here to > unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from > OpenMRS Developers' mailing list -- If we keep uppermost in our minds the unkind and unjust acts of others, we shall find it impossible to love them as Christ has loved us; but if our thoughts dwell upon the wondrous love and pity of Christ for us, the same spirit will flow out to others. _________________________________________ 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]

