Runs unit test and deploys artifacts to maven repo. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #2523 failed
Job: Default Job failed
Handle submission handles valid submission entering form: Test case result
The below summarizes the result of the test "Handle submission handles valid submission entering form" in build 2,523 of Core Apps Module - Core Apps Module Latest - Default Job.
- Description
- Handle submission handles valid submission entering form
- Test class
- org.openmrs.module.coreapps.htmlformentry.EncounterDiagnosesTagHandlerComponentTest
- Method
- testHandleSubmissionHandlesValidSubmissionEnteringForm
- Duration
- < 1 sec
- Status
- Failed (Existing Failure)
Error Log
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:94) at org.springframework.test.context.DefaultTestContext.getApplicationContext(DefaultTestContext.java:72) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:117) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:212) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:200) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:252) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:254) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:217) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:83) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:68) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:163) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75) Caused by: 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.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT-tests.jar!/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor] Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientDAO' while setting bean property 'patientDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientDAO' 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 'personService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'personDAO' while setting bean property 'personDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO' 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 '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 'obsService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsDAO' while setting bean property 'obsDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsDAO' 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 'encounterService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterDAO' while setting bean property 'encounterDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterDAO' 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 'locationService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'locationDAO' while setting bean property 'locationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'locationDAO' 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 'orderService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'orderDAO' while setting bean property 'orderDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderDAO' 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 'formService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'formDAO' while setting bean property 'formDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'formDAO' 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 'adminService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminDAO' while setting bean property 'administrationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminDAO' 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 'datatypeService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'datatypeDAO' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'datatypeDAO' 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 'programWorkflowService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'programWorkflowDAO' while setting bean property 'programWorkflowDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'programWorkflowDAO' 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 'messageService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'messageServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'templateDAO' while setting bean property 'templateDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templateDAO' 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 'patientSetService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientSetServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientSetServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientSetDAO' while setting bean property 'patientSetDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientSetDAO' 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 'cohortService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'cohortDAO' while setting bean property 'cohortDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortDAO' 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 'schedulerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'schedulerDAO' while setting bean property 'schedulerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulerDAO' 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 'alertService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'alertDAO' while setting bean property 'alertDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertDAO' 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 'hL7Service' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7ServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7ServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'hL7DAO' while setting bean property 'HL7DAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hL7DAO' 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 'visitService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitDAO' while setting bean property 'visitDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitDAO' 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 'providerService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'providerDAO' while setting bean property 'providerDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'providerDAO' 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 'noteService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'noteServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'noteServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'noteDAO' while setting bean property 'noteDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'noteDAO' 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 'reportingSerializedDefinitionService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.definition.service.SerializedDefinitionServiceImpl#509ba12f' 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#509ba12f' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.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:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.report.service.ReportServiceImpl#221853fc' 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#221853fc' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.report.service.db.HibernateReportDAO#200b49f5' 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#200b49f5' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.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 'reportingCohortQueryService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.cohort.query.service.CohortQueryServiceImpl#5fb29d3d' of type [org.openmrs.module.reporting.cohort.query.service.CohortQueryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.reporting.cohort.query.service.CohortQueryServiceImpl#5fb29d3d' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'cohortQueryDAO' while setting bean property 'cohortQueryDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cohortQueryDAO' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.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 'reportingDataSetQueryService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.reporting.dataset.query.service.BaseDataSetQueryService#69616848' of type [org.openmrs.module.reporting.dataset.query.service.BaseDataSetQueryService] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.reporting.dataset.query.service.BaseDataSetQueryService#69616848' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'dataSetQueryDAO' while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSetQueryDAO' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/reporting-api/0.9.9-SNAPSHOT/reporting-api-0.9.9-SNAPSHOT.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:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/htmlformentry-api/3.2-SNAPSHOT/htmlformentry-api-3.2-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.htmlformentry.impl.HtmlFormEntryServiceImpl#5dbe01ac' of type [org.openmrs.module.htmlformentry.impl.HtmlFormEntryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.htmlformentry.impl.HtmlFormEntryServiceImpl#5dbe01ac' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/htmlformentry-api/3.2-SNAPSHOT/htmlformentry-api-3.2-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.htmlformentry.db.hibernate.HibernateHtmlFormEntryDAO#73114b15' 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#73114b15' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/htmlformentry-api/3.2-SNAPSHOT/htmlformentry-api-3.2-SNAPSHOT.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:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/providermanagement-api/2.5-SNAPSHOT/providermanagement-api-2.5-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.providermanagement.api.impl.ProviderManagementServiceImpl#564d66e6' 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#564d66e6' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/providermanagement-api/2.5-SNAPSHOT/providermanagement-api-2.5-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.providermanagement.api.db.hibernate.HibernateProviderManagementDAO#170925b9' 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#170925b9' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/providermanagement-api/2.5-SNAPSHOT/providermanagement-api-2.5-SNAPSHOT.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:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/providermanagement-api/2.5-SNAPSHOT/providermanagement-api-2.5-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.providermanagement.api.impl.ProviderSuggestionServiceImpl#347365db' 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#347365db' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/providermanagement-api/2.5-SNAPSHOT/providermanagement-api-2.5-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.providermanagement.api.db.hibernate.HibernateProviderManagementDAO#72094bce' 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#72094bce' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/providermanagement-api/2.5-SNAPSHOT/providermanagement-api-2.5-SNAPSHOT.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 'accountService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#7cfa557e' of type [org.openmrs.module.emrapi.account.AccountServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.account.AccountServiceImpl#7cfa557e' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'userService' while setting bean property 'userService'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'userService': org.springframework.beans.factory.FactoryBeanNotInitializedException: FactoryBean is not fully initialized yet Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adtService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.adt.AdtServiceImpl#2934b6b8' of type [org.openmrs.module.emrapi.adt.AdtServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.adt.AdtServiceImpl#2934b6b8' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterService' while setting bean property 'encounterService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'encounterDAO' while setting bean property 'encounterDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterDAO' 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 'emrConceptService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.concept.EmrConceptServiceImpl#231b6153' of type [org.openmrs.module.emrapi.concept.EmrConceptServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.concept.EmrConceptServiceImpl#231b6153' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO#de48434' of type [org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO#de48434' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.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 'emrPatientService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.patient.EmrPatientServiceImpl#27496912' of type [org.openmrs.module.emrapi.patient.EmrPatientServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.patient.EmrPatientServiceImpl#27496912' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.patient.HibernateEmrPatientDAO#2b448bb4' of type [org.openmrs.module.emrapi.patient.HibernateEmrPatientDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.patient.HibernateEmrPatientDAO#2b448bb4' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.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 'emrPatientProfileService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.patient.EmrPatientProfileServiceImpl#795a49c3' of type [org.openmrs.module.emrapi.patient.EmrPatientProfileServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.patient.EmrPatientProfileServiceImpl#795a49c3' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'patientService' while setting bean property 'patientService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'patientDAO' while setting bean property 'patientDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'patientDAO' 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 'dispositionService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.disposition.DispositionServiceImpl#1537ae03' of type [org.openmrs.module.emrapi.disposition.DispositionServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.disposition.DispositionServiceImpl#1537ae03' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrConceptService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrConceptService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.concept.EmrConceptServiceImpl#231b6153' of type [org.openmrs.module.emrapi.concept.EmrConceptServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.concept.EmrConceptServiceImpl#231b6153' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO#de48434' of type [org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO] while setting bean property 'dao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO#de48434' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.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 'emrEncounterService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrEncounterServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterServiceTarget' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'adminService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'adminDAO' while setting bean property 'administrationDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adminDAO' 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 'emrVisitService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.visit.EmrVisitServiceImpl#37d72a9a' of type [org.openmrs.module.emrapi.visit.EmrVisitServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.visit.EmrVisitServiceImpl#37d72a9a' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'visitService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'visitDAO' while setting bean property 'visitDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitDAO' 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 'appFrameworkService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/appframework-api/2.9-SNAPSHOT/appframework-api-2.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.appframework.service.AppFrameworkServiceImpl#6abf10b' of type [org.openmrs.module.appframework.service.AppFrameworkServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.appframework.service.AppFrameworkServiceImpl#6abf10b' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/appframework-api/2.9-SNAPSHOT/appframework-api-2.9-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'allComponentsState' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'allComponentsState' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/appframework-api/2.9-SNAPSHOT/appframework-api-2.9-SNAPSHOT.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 'diagnosisService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl#5e5ad1bd' of type [org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl#5e5ad1bd' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrApiProperties' while setting bean property 'emrApiProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrApiProperties': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openmrs.api.ConceptService org.openmrs.module.emrapi.utils.ModuleProperties.conceptService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.api.ConceptService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=conceptService)} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl#5e5ad1bd' of type [org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl#5e5ad1bd' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsService' while setting bean property 'obsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'obsDAO' while setting bean property 'obsDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'obsDAO' 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 'adtService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.adt.AdtServiceImpl#2934b6b8' of type [org.openmrs.module.emrapi.adt.AdtServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.adt.AdtServiceImpl#2934b6b8' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrApiProperties' while setting bean property 'emrApiProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrApiProperties': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openmrs.api.ConceptService org.openmrs.module.emrapi.utils.ModuleProperties.conceptService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.api.ConceptService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=conceptService)} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrPersonImageService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.person.image.EmrPersonImageServiceImpl#76cc7585' of type [org.openmrs.module.emrapi.person.image.EmrPersonImageServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.person.image.EmrPersonImageServiceImpl#76cc7585' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrApiProperties' while setting bean property 'emrApiProperties'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrApiProperties': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected org.openmrs.api.ConceptService org.openmrs.module.emrapi.utils.ModuleProperties.conceptService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.api.ConceptService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true), @org.springframework.beans.factory.annotation.Qualifier(value=conceptService)} Related cause: 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 'accountService' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#7cfa557e' of type [org.openmrs.module.emrapi.account.AccountServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.emrapi.account.AccountServiceImpl#7cfa557e' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT.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 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1469) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:125) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:109) at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:261) at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:68) at org.springframework.test.context.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:86) ... 32 more Caused by: 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.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT-tests.jar!/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1469) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 50 more Caused by: 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.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT-tests.jar!/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1469) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 60 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in URL [jar:file:/home/bamboo-agent-1/.m2/repository/org/openmrs/module/emrapi-api/1.13-SNAPSHOT/emrapi-api-1.13-SNAPSHOT-tests.jar!/TestingApplicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1566) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351) ... 70 more Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.spi.CacheImplementor] at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:261) at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:225) at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:206) at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:273) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1930) at org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:372) at org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:454) at org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:439) at org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.afterPropertiesSet(HibernateSessionFactoryBean.java:187) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1625) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1562) ... 77 more Caused by: org.hibernate.cache.CacheException: net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ] at org.hibernate.cache.ehcache.EhCacheRegionFactory.start(EhCacheRegionFactory.java:107) at org.hibernate.internal.CacheImpl.<init>(CacheImpl.java:70) at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:40) at org.hibernate.engine.spi.CacheInitiator.initiateService(CacheInitiator.java:35) at org.hibernate.service.internal.SessionFactoryServiceRegistryImpl.initiateService(SessionFactoryServiceRegistryImpl.java:91) at org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:251) ... 88 more Caused by: net.sf.ehcache.CacheException: Another unnamed CacheManager already exists in the same VM. Please provide unique names for each CacheManager in the config or do one of following: 1. Use one of the CacheManager.create() static factory methods to reuse same CacheManager with same name or create one if necessary 2. Shutdown the earlier cacheManager before creating new one with same name. The source of the existing CacheManager is: DefaultConfigurationSource [ ehcache.xml or ehcache-failsafe.xml ] at net.sf.ehcache.CacheManager.assertNoCacheManagerExistsWithSameName(CacheManager.java:628) at net.sf.ehcache.CacheManager.init(CacheManager.java:392) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:270) at org.hibernate.cache.ehcache.EhCacheRegionFactory.start(EhCacheRegionFactory.java:86) ... 93 more