Ubuntu 22.04, Tomcat 8.5 and Mysql
The following error occurred at startup:
Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSourceServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'mutableResourceBundleMessageSource' while setting bean property 'activeMessageSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mutableResourceBundleMessageSource' defined in class path resource [applicationContext-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor#0' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionInterceptor' while setting bean property 'transactionInterceptor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionInterceptor' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sessionFactory': Unsatisfied dependency expressed through field 'interceptors'; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] for bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/commonlabtest/commonlabtest.jar!/webModuleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping] for bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/commonlabtest/commonlabtest.jar!/webModuleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'htmlFormEntryServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryServiceImpl' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' of type [org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'htmlFormEntryServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryServiceImpl' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' of type [org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'htmlFormEntryServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryServiceImpl' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' of type [org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'htmlFormEntryServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryServiceImpl' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' of type [org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminAccountService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/adminui/lib/adminui-api-1.6.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.adminui.account.AccountServiceImpl#1b328003' of type [org.openmrs.module.adminui.account.AccountServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.adminui.account.AccountServiceImpl#1b328003' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/adminui/lib/adminui-api-1.6.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'userService' while setting bean property 'userService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userDAO' while setting bean property 'userDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'htmlFormEntryServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'htmlFormEntryServiceImpl' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' of type [org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#2318e1c6' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/htmlformentry/htmlformentry.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminAccountService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/adminui/lib/adminui-api-1.6.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.adminui.account.AccountServiceImpl#1b328003' of type [org.openmrs.module.adminui.account.AccountServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.adminui.account.AccountServiceImpl#1b328003' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/adminui/lib/adminui-api-1.6.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'userService' while setting bean property 'userService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'userDAO' while setting bean property 'userDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metadatamapping.MetadataMappingService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/metadatamapping/metadatamapping.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'metadatamapping.MetadataMappingServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metadatamapping.MetadataMappingServiceImpl' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/metadatamapping/metadatamapping.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'conceptService' while setting bean property 'conceptService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'conceptDAO' while setting bean property 'conceptDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'conceptDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registrationCoreService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/registrationcore/registrationcore.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.registrationcore.api.impl.RegistrationCoreServiceImpl#689c2d85' of type [org.openmrs.module.registrationcore.api.impl.RegistrationCoreServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.registrationcore.api.impl.RegistrationCoreServiceImpl#689c2d85' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/registrationcore/registrationcore.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'registrationCoreDAO' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registrationCoreDAO' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/registrationcore/registrationcore.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerManagementService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/providermanagement/lib/providermanagement-api-2.14.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.providermanagement.api.impl.ProviderManagementServiceImpl#282b020d' of type [org.openmrs.module.providermanagement.api.impl.ProviderManagementServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.providermanagement.api.impl.ProviderManagementServiceImpl#282b020d' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/providermanagement/lib/providermanagement-api-2.14.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.providermanagement.api.db.hibernate.HibernateProviderManagementDAO#2f3821da' of type [org.openmrs.module.providermanagement.api.db.hibernate.HibernateProviderManagementDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.providermanagement.api.db.hibernate.HibernateProviderManagementDAO#2f3821da' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/providermanagement/lib/providermanagement-api-2.14.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerSuggestionService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/providermanagement/lib/providermanagement-api-2.14.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.providermanagement.api.impl.ProviderSuggestionServiceImpl#5e714663' of type [org.openmrs.module.providermanagement.api.impl.ProviderSuggestionServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.providermanagement.api.impl.ProviderSuggestionServiceImpl#5e714663' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/providermanagement/lib/providermanagement-api-2.14.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.providermanagement.api.db.hibernate.HibernateProviderManagementDAO#dbf19b7' of type [org.openmrs.module.providermanagement.api.db.hibernate.HibernateProviderManagementDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.providermanagement.api.db.hibernate.HibernateProviderManagementDAO#dbf19b7' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/providermanagement/lib/providermanagement-api-2.14.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrConditionService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/emrapi/lib/emrapi-condition-list-1.33.0.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'emrConditionServiceTarget' of type [org.openmrs.module.emrapi.conditionslist.impl.ConditionServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrConditionServiceTarget' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/emrapi/lib/emrapi-condition-list-1.33.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrConditionDAO' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrConditionDAO' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/emrapi/lib/emrapi-condition-list-1.33.0.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportingSerializedDefinitionService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/reporting/reporting.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.definition.service.SerializedDefinitionServiceImpl#2ac76898' of type [org.openmrs.module.reporting.definition.service.SerializedDefinitionServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.reporting.definition.service.SerializedDefinitionServiceImpl#2ac76898' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/reporting/reporting.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'serializedObjectDAO' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serializedObjectDAO' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportingReportService' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/reporting/reporting.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.report.service.ReportServiceImpl#53b6b803' of type [org.openmrs.module.reporting.report.service.ReportServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.reporting.report.service.ReportServiceImpl#53b6b803' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/reporting/reporting.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.report.service.db.HibernateReportDAO#5352a454' of type [org.openmrs.module.reporting.report.service.db.HibernateReportDAO] while setting bean property 'reportDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.reporting.report.service.db.HibernateReportDAO#5352a454' defined in URL [jar:file:/var/lib/OpenMRS/.openmrs-lib-cache/reporting/reporting.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dbSessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbSessionFactory' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'sessionFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sessionFactory': FactoryBean which is currently in creation returned null from getObject Related cause: ...