I am trying to deploy the openmrs-module-reportingdemo into my local openmrs latest reference application. I was trying to deploy this .omod manually copying it into the AppData/openmrs/serverId/modules location.
When I started the server, I could login and go to administration page. There it showed me that I don’t have below modules in my server. Therefore openmrs-module-reportingdemo didn’t started properly.
- logic 0.5.2,
- groovy 2.2.4,
- namephonetics 1.5,
- addresshierarchy 2.7,
- htmlformentry19ext 1.6.1
I have downloaded all those modules with exact same versions (some of those modules had newer versions, but I took the exact versions which was requesting). I copied those downloded .omod modules into my server and restarted. Then I am getting the following error when I try to hit localhost:8080/openmrs
HTTP Status 500 - Error creating bean with name 'sessionFactory': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public java.util.Map org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.interceptors; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.openmrs.module.addresshierarchy.web.controller.portlet.AddressLayoutPortletController] for bean with name 'ahAddressLayoutPortletController' defined in URL [jar:file:/C:/Users/Jude/openmrs/test123/.openmrs-lib-cache/addresshierarchy/addresshierarchy.jar!/webModuleApplicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/openmrs/web/controller/layout/AddressLayoutPortletController