More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #1481 failed
Job: Default Job failed
Process message should not add Aduplicate and should move the existing patient to the start: Test case result
The below summarizes the result of the test "Process message should not add Aduplicate and should move the existing patient to the start" in build 1,481 of EMR API module - EMR API module - Default Job.
- Description
- Process message should not add Aduplicate and should move the existing patient to the start
- Test class
- org.openmrs.module.emrapi.event.PatientViewedEventListenerTest
- Method
- processMessage_shouldNotAddADuplicateAndShouldMoveTheExistingPatientToTheStart
- Duration
- 1 sec
- Status
- Failed (New Failure)
Error Log
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:220) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:301) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:303) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:240) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50) 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:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:309) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:180) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102) at org.apache.maven.surefire.Surefire.run(Surefire.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:622) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:350) at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021) 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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public java.util.Map org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.interceptors; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor 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 'reportService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportDAO' while setting bean property 'reportDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportDAO' 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 'reportObjectService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportObjectServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportObjectServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'reportObjectDAO' while setting bean property 'reportObjectDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportObjectDAO' 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 'activeListService' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'activeListServiceTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeListServiceTarget' defined in class path resource [applicationContext-service.xml]: Cannot resolve reference to bean 'activeListDAO' while setting bean property 'activeListDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'activeListDAO' 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 'accountService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#ec1f4de' 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#ec1f4de' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.adt.AdtServiceImpl#6996c2aa' 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#6996c2aa' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.concept.EmrConceptServiceImpl#7707570b' 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#7707570b' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO#28c65d0e' 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#28c65d0e' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.patient.EmrPatientServiceImpl#3a7b9151' 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#3a7b9151' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.patient.HibernateEmrPatientDAO#2e3d03a' 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#2e3d03a' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.patient.EmrPatientProfileServiceImpl#5783249' 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#5783249' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.disposition.DispositionServiceImpl#162d596d' 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#162d596d' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.concept.EmrConceptServiceImpl#7707570b' 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#7707570b' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.concept.HibernateEmrConceptDAO#28c65d0e' 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#28c65d0e' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.visit.EmrVisitServiceImpl#7b4a0e7a' 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#7b4a0e7a' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 'diagnosisService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl#5fb32263' 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#5fb32263' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl#5fb32263' 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#5fb32263' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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 [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.adt.AdtServiceImpl#6996c2aa' 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#6996c2aa' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrPersonImageService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.person.image.EmrPersonImageServiceImpl#1ea77af0' 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#1ea77af0' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor 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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List org.openmrs.api.impl.UserServiceImpl.privilegeListeners; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl#5fb32263' 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#5fb32263' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adtService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.adt.AdtServiceImpl#6996c2aa' 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#6996c2aa' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrPersonImageService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.person.image.EmrPersonImageServiceImpl#1ea77af0' 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#1ea77af0' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#ec1f4de' 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#ec1f4de' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List org.openmrs.api.impl.UserServiceImpl.privilegeListeners; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor 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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List org.openmrs.api.impl.UserServiceImpl.privilegeListeners; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#ec1f4de' 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#ec1f4de' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List org.openmrs.api.impl.UserServiceImpl.privilegeListeners; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'diagnosisService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.diagnosis.DiagnosisServiceImpl#5fb32263' 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#5fb32263' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor 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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List org.openmrs.api.impl.UserServiceImpl.privilegeListeners; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#ec1f4de' 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#ec1f4de' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List org.openmrs.api.impl.UserServiceImpl.privilegeListeners; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'adtService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.adt.AdtServiceImpl#6996c2aa' 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#6996c2aa' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor 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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List org.openmrs.api.impl.UserServiceImpl.privilegeListeners; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#ec1f4de' 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#ec1f4de' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.List org.openmrs.api.impl.UserServiceImpl.privilegeListeners; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrPersonImageService' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.person.image.EmrPersonImageServiceImpl#1ea77af0' 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#1ea77af0' defined in URL [file:/home/bamboo-agent-2/bamboo-agent/xml-data/build-dir/EMRAPI-EMRAPI-JOB1/api/target/classes/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.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:84) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:1) at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:280) at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:304) ... 29 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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public java.util.Map org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.interceptors; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 45 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': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public java.util.Map org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.interceptors; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 55 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: public java.util.Map org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.interceptors; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 65 more Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: public java.util.Map org.openmrs.api.db.hibernate.HibernateSessionFactoryBean.interceptors; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:502) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:282) ... 73 more Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.openmrs.event.api.db.hibernate.HibernateEventInterceptor] for bean with name 'eventInterceptor' defined in URL [jar:file:/home/bamboo-agent-2/.m2/repository/org/openmrs/event-api/2.4-SNAPSHOT/event-api-2.4-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1250) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576) at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1319) at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:315) at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:185) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:829) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:773) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:474) ... 75 more Caused by: java.lang.ClassNotFoundException: org.openmrs.event.api.db.hibernate.HibernateEventInterceptor at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at org.openmrs.util.OpenmrsClassLoader.loadClass(OpenmrsClassLoader.java:164) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at org.springframework.util.ClassUtils.forName(ClassUtils.java:257) at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:408) at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1271) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1242) ... 83 more