Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- 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)}
- 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
- at org.openmrs.web.WebDaemon.startOpenmrs(WebDaemon.java:65)
- at org.openmrs.web.Listener.contextInitialized(Listener.java:196)
- at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4961)
- at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5455)
- at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
- at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
- at java.util.concurrent.FutureTask.run(Unknown Source)
- at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
- at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
- at java.lang.Thread.run(Unknown Source)
- 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)}
- 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
- at org.openmrs.web.Listener.startOpenmrs(Listener.java:274)
- at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
- 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)}
- 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
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
- at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
- at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:894)
- at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:866)
- at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:656)
- at org.openmrs.web.Listener.performWebStartOfModules(Listener.java:635)
- at org.openmrs.web.Listener.startOpenmrs(Listener.java:266)
- ... 1 more
- 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)}
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
- at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
- ... 16 more
- 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)}
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1308)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
- at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
- ... 18 more
- See the server log for full output.
Add Comment
Please, Sign In to add comment