Error when installing the standalone application

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 …

For the full error text : https://pastebin.com/haVazVrA

If anyone has a clue about what’s going wrong and knows the solution, it would be so helpful to share it with the community.

Thank you

Use paste bin to share the entire error log.

@skandermarsit which java version are you using ?

this is the link for paste bin @skandermarsit https://pastebin.com/

Thank you for the suggestion.

@skandermarsit can you share your error logs using pastebin like @herbert24 stated

Thank you for your help. This is the link for the full error log: https://pastebin.com/haVazVrA

I tried with java 8 and Java 11.

try re-extracting your standalone and re-run the openmrs standalone-jar file

The information in your log shows that you are running the standalone on Java 11 instead of 8