On Sun, Feb 5, 2012 at 4:24 PM, Saptarshi Purkayastha <[email protected]>wrote:
> 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. > Thanks, problem solved, another question after compiling I have to remove the webservices-api and omod from lib folder and then zip it with omod, how can this be done automatically ? If I don't manually remove it , I get some error like this one Unable to refresh the WebApplicationContext Unexpected exception parsing XML document from URL [jar:file:/home/gaurav/Desktop/work/apache-tomcat-6.0.29/temp/1328430259070.openmrs-lib-cache/webservices.rest/webservices.rest.jar!/webModuleApplicationContext.xml]; nested exception is java.lang.IllegalStateException: Annotation-specified bean name 'patientController' for bean class [org.openmrs.module.webservices.rest.web.controller.PatientController] conflicts with existing, non-compatible bean definition of same name and class [org.openmrs.module.webservices.rest.web.v1_0.controller.PatientController] How this conflict can be avoided ? -- 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]

