Hi Gaurav, I see that you are adding the webservices-api and omod to the lib-common. This folder is meant for libraries that your module uses, but are part of OpenMRS core and thus not part of your modules omod packaging. Thus, the error...
You have to add it to the lib folder and then it should work fine. When webservices.rest becomes a bundledModule, we don't have to add it to lib and just to lib-common should be fine then. --- Regards, Saptarshi PURKAYASTHA My Tech Blog: http://sunnytalkstech.blogspot.com You Live by CHOICE, Not by CHANCE On 5 February 2012 15:45, Gaurav Paliwal <[email protected]> wrote: > Hi, > > I have followed the following steps for using webservice.rest in > patientimage module : > > 1. Added the library webservices.rest-api-1.0-SNAPSHOT.jar and > webservices.rest-omod-1.0-SNAPSHOT.jar . > 2. Added and started the OpenMRS webservices.rest module in the OpenMRS > instance. > 3. Build and compiled the patient image module. > > But I am getting the error : > > Unable to refresh the WebApplicationContext > Failed to load bean class: > org.openmrs.module.patientimage.web.controller.PatientImageRequestController; > nested exception is java.io.FileNotFoundException: class path resource > [org/openmrs/module/webservices/rest/web/controller/BaseCrudController.class] > cannot be opened because it does not exist > > > Any clue ? > -- > With Regards, > Gaurav Paliwal > http://gauravpaliwal.com > > _________________________________________ 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]

