Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- java.lang.IllegalStateException: Failed to load ApplicationContext
- at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
- at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
- at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
- at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
- at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
- at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
- at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
- at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
- at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
- at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
- 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$3.evaluate(ParentRunner.java:306)
- at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
- at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
- at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89)
- at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463)
- at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)
- Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'mostRecentAdmissionRequestVisitDataEvaluator': Unsatisfied dependency expressed through field 'diagnosisService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.openmrs.module.emrapi.diagnosis.DiagnosisService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encounterTransactionMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/org/openmrs/module/emrapi/encounter/EncounterTransactionMapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'observationMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrVisitService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrVisitServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrVisitServiceImpl' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'visitResponseMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitResponseMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterTransactionMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encounterTransactionMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/org/openmrs/module/emrapi/encounter/EncounterTransactionMapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'observationMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encounterTransactionMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/org/openmrs/module/emrapi/encounter/EncounterTransactionMapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'observationMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrVisitService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrVisitServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrVisitServiceImpl' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'visitResponseMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitResponseMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterTransactionMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encounterTransactionMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/org/openmrs/module/emrapi/encounter/EncounterTransactionMapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'observationMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.emrapi.account.AccountServiceImpl#1780a86' 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#1780a86': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [org.openmrs.module.emrapi.account.AccountServiceImpl] from ClassLoader [sun.misc.Launcher$AppClassLoader@185612c]
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrEncounterService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-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:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterObservationServiceHelper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationServiceHelper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'obsMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'obsMapper' available
- Related cause: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encounterTransactionMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/org/openmrs/module/emrapi/encounter/EncounterTransactionMapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'observationMapper' available
- Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrVisitService' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'emrVisitServiceImpl' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'emrVisitServiceImpl' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'visitResponseMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'visitResponseMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'encounterTransactionMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encounterTransactionMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/org/openmrs/module/emrapi/encounter/EncounterTransactionMapper.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encounterObservationsMapper' defined in URL [jar:file:/C:/Users/ODEL/.m2/repository/org/openmrs/module/emrapi-api/1.31.0-SNAPSHOT/emrapi-api-1.31.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot resolve reference to bean 'observationMapper' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'observationMapper' available
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643)
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
- at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275)
- at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
- at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
- at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
- ... 27 more
- Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.openmrs.module.emrapi.diagnosis.DiagnosisService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1790)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1346)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300)
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
- ... 45 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement