Advertisement
Guest User

Untitled

a guest
Jan 28th, 2021
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 34.67 KB | None | 0 0
  1. java.lang.IllegalStateException: Failed to load ApplicationContext
  2. at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132)
  3. at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124)
  4. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:118)
  5. at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:83)
  6. at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244)
  7. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227)
  8. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289)
  9. at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
  10. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291)
  11. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246)
  12. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
  13. at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331)
  14. at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79)
  15. at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329)
  16. at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66)
  17. at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293)
  18. at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
  19. at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
  20. at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
  21. at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
  22. at org.junit.runners.ParentRunner.run(ParentRunner.java:413)
  23. at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
  24. at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:89)
  25. at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:41)
  26. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:541)
  27. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:763)
  28. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:463)
  29. at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:209)
  30. 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)}
  31. 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]
  32. 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
  33. 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]
  34. 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
  35. 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]
  36. 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
  37. 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
  38. 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
  39. 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]
  40. 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
  41. 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]
  42. 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
  43. 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]
  44. 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
  45. 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
  46. 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
  47. 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]
  48. 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
  49. 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]
  50. 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
  51. 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]
  52. 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
  53. 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
  54. 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
  55. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643)
  56. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:119)
  57. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
  58. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1415)
  59. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:608)
  60. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531)
  61. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335)
  62. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
  63. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333)
  64. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208)
  65. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944)
  66. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923)
  67. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588)
  68. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:127)
  69. at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:60)
  70. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.delegateLoading(AbstractDelegatingSmartContextLoader.java:275)
  71. at org.springframework.test.context.support.AbstractDelegatingSmartContextLoader.loadContext(AbstractDelegatingSmartContextLoader.java:243)
  72. at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99)
  73. at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124)
  74. ... 27 more
  75. 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)}
  76. at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1790)
  77. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1346)
  78. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1300)
  79. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
  80. ... 45 more
  81.  
  82.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement