Guest User

Untitled

a guest
May 6th, 2020
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.92 KB | None
  1. Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webservices.rest.LaboratoryFormController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.openmrslearningrest.api.LaboratoryService org.openmrs.module.openmrslearningrest.web.controller.LaboratoryController.laboratoryService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.module.openmrslearningrest.api.LaboratoryService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrslearningrest.LaboratoryService' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' of type [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl]: Is it an abstract class?; nested exception is java.lang.InstantiationException Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrslearningrest.LaboratoryService' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' of type [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl]: Is it an abstract class?; nested exception is java.lang.InstantiationException
  2. org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webservices.rest.LaboratoryFormController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.openmrslearningrest.api.LaboratoryService org.openmrs.module.openmrslearningrest.web.controller.LaboratoryController.laboratoryService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.module.openmrslearningrest.api.LaboratoryService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
  3. Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrslearningrest.LaboratoryService' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' of type [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl]: Is it an abstract class?; nested exception is java.lang.InstantiationException
  4. Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrslearningrest.LaboratoryService' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' of type [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl]: Is it an abstract class?; nested exception is java.lang.InstantiationException
  5. at org.openmrs.web.WebDaemon.startOpenmrs(WebDaemon.java:65)
  6. at org.openmrs.web.Listener.contextInitialized(Listener.java:196)
  7. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4961)
  8. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5455)
  9. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  10. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  11. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  12. at java.util.concurrent.FutureTask.run(Unknown Source)
  13. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  14. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  15. at java.lang.Thread.run(Unknown Source)
  16. Caused by: javax.servlet.ServletException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webservices.rest.LaboratoryFormController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.openmrslearningrest.api.LaboratoryService org.openmrs.module.openmrslearningrest.web.controller.LaboratoryController.laboratoryService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.module.openmrslearningrest.api.LaboratoryService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
  17. Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrslearningrest.LaboratoryService' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' of type [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl]: Is it an abstract class?; nested exception is java.lang.InstantiationException
  18. Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrslearningrest.LaboratoryService' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' of type [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl]: Is it an abstract class?; nested exception is java.lang.InstantiationException
  19. at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
  20. at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
  21. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'webservices.rest.LaboratoryFormController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.openmrslearningrest.api.LaboratoryService org.openmrs.module.openmrslearningrest.web.controller.LaboratoryController.laboratoryService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.module.openmrslearningrest.api.LaboratoryService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
  22. Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrslearningrest.LaboratoryService' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' of type [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl]: Is it an abstract class?; nested exception is java.lang.InstantiationException
  23. Related cause: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrslearningrest.LaboratoryService' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Cannot create inner bean 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' of type [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl] while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl#1b8b5e54' defined in URL [jar:file:/C:/Users/SHARIF/Downloads/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/openmrslearningrest/lib/openmrslearningrest-api-1.0.0-SNAPSHOT.jar!/moduleApplicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.openmrs.module.openmrslearningrest.api.impl.LaboratoryServiceImpl]: Is it an abstract class?; nested exception is java.lang.InstantiationException
  24. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  25. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
  26. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  27. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  28. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  29. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  30. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  31. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  32. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
  33. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
  34. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
  35. at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:894)
  36. at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:866)
  37. at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:656)
  38. at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:635)
  39. at org.openmrs.web.Listener.startOpenmrs(Listener.java:266)
  40. ... 1 more
  41. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.openmrslearningrest.api.LaboratoryService org.openmrs.module.openmrslearningrest.web.controller.LaboratoryController.laboratoryService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.module.openmrslearningrest.api.LaboratoryService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
  42. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
  43. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  44. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  45. ... 16 more
  46. Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.module.openmrslearningrest.api.LaboratoryService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
  47. at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1308)
  48. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  49. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
  50. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
  51. ... 18 more
  52.  
  53.  
  54. See the server log for full output.
RAW Paste Data Copied