Hi There, I’m new to OpenMrs. I’ve encountered an error during the first installation of this app.
The error says:
Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘conversionService’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: java.util.Set org.openmrs.module.uiframework.UiFrameworkConversionServiceFactoryBean.springManagedConverters; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘stringToAppDescriptorConverter’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.appframework.service.AppFrameworkService org.openmrs.module.appui.converter.StringToAppDescriptorConverter.appFrameworkService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.openmrs.module.appframework.service.AppFrameworkService] 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 ‘appFrameworkService’ defined in URL [jar:file:/Users/SkanderMarsit/Documents/referenceapplication-standalone-2.9.0/appdata/.openmrs-lib-cache/appframework/appframework.jar!/moduleApplicationContext.xml]: Cannot create inner bean ‘org.openmrs.module.appframework.service.AppFrameworkServiceImpl#781b2c3a’ of type [org.openmrs.module.appframework.service.AppFrameworkServiceImpl] while setting bean property ‘target’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘org.openmrs.module.appframework.service.AppFrameworkServiceImpl#781b2c3a’ defined in URL
…
Hello @dkayiwa dkayiwa, @gcliff, I saw that you and many other devoted people have been very helpful in resolving problems in this community.
Hopefully i can be helped too.
I am new here and I have difficulty starting up the standalone OpenMRS. It always return with very long error list.
I am putting the two halves of the error list here for your perusal.
Oh sorry! its unfortunate the error logs you shared through pastebin cannot be accessed. This is what is displayed Error, this is a private paste. If this is your private paste, please login to Pastebin first. when I try to open the pastebin links you shared.
Its okay! though you downloaded some softwares which may not be required for this issue but you can save them for future use. You can follow this link https://openmrs.org/download/ to download the standalone.