Skip to content

Instantly share code, notes, and snippets.

@djazayeri
Created November 24, 2014 18:55
Show Gist options
  • Save djazayeri/bb817fbc359cbafe1e1f to your computer and use it in GitHub Desktop.
Save djazayeri/bb817fbc359cbafe1e1f to your computer and use it in GitHub Desktop.
WARN - WebModuleUtil.startModule(286) |2014-11-24 13:29:31,888| Unable to refresh the WebApplicationContext for module: referenceapplication
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping#0' defined in URL [jar:file:/tmp/tomcat7-tomcat7-tmp/1416850176698.openmrs-lib-cache/allergyui/allergyui.jar!/webModuleApplicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HL7MessageController1_8': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController org.openmrs.module.webservices.rest.web.v1_0.controller.openmrs1_8.HL7MessageController1_8.mainResourceController; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController] 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), @org.springframework.beans.factory.annotation.Qualifier(value=mainResourceController)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment