Guest User

FHIR2 error

a guest
Apr 9th, 2021
37
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. WARN - AbstractApplicationContext.refresh(487) |2021-04-09 17:15:12,342| Exception encountered during context initialization - cancelling refresh attempt
  2. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fhirConditionServiceImpl_2_2': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.search.SearchQueryInclude_2_2 org.openmrs.module.fhir2.api.impl.FhirConditionServiceImpl_2_2.searchQueryInclude; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude_2_2': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fhirLocationServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.search.SearchQueryInclude org.openmrs.module.fhir2.api.impl.FhirLocationServiceImpl.searchQueryInclude; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  3. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  4. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
  5. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  6. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  7. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  8. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  9. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  10. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  11. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)
  12. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
  13. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
  14. at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:888)
  15. at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:847)
  16. at org.openmrs.module.web.controller.ModuleListController.onSubmit(ModuleListController.java:196)
  17. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:274)
  18. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:275)
  19. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:146)
  20. at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
  21. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  22. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  23. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  24. at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
  25. at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
  26. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  27. at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
  28. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  29. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  30. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  31. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  32. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  33. at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  34. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  35. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  36. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  37. at org.raxa.module.raxacore.CorsFilter.doFilter(CorsFilter.java:50)
  38. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  39. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  40. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  41. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  42. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  43. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  44. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  45. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  46. at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  47. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  48. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  49. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  50. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  51. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  52. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  53. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  54. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  55. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  56. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  57. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  58. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  59. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  60. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  61. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  62. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  63. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
  64. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
  65. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
  66. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
  67. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
  68. at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
  69. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
  70. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
  71. at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
  72. at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
  73. at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
  74. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)
  75. at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  76. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  77. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  78. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  79. at java.lang.Thread.run(Thread.java:745)
  80. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.search.SearchQueryInclude_2_2 org.openmrs.module.fhir2.api.impl.FhirConditionServiceImpl_2_2.searchQueryInclude; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude_2_2': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fhirLocationServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.search.SearchQueryInclude org.openmrs.module.fhir2.api.impl.FhirLocationServiceImpl.searchQueryInclude; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  81. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
  82. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  83. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  84. ... 76 more
  85. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude_2_2': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fhirLocationServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.search.SearchQueryInclude org.openmrs.module.fhir2.api.impl.FhirLocationServiceImpl.searchQueryInclude; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  86. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  87. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
  88. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  89. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  90. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  91. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  92. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  93. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  94. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
  95. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)
  96. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
  97. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
  98. ... 78 more
  99. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fhirLocationServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.search.SearchQueryInclude org.openmrs.module.fhir2.api.impl.FhirLocationServiceImpl.searchQueryInclude; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  100. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
  101. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  102. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  103. ... 89 more
  104. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fhirLocationServiceImpl': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.search.SearchQueryInclude org.openmrs.module.fhir2.api.impl.FhirLocationServiceImpl.searchQueryInclude; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  105. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  106. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
  107. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  108. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  109. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  110. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  111. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  112. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  113. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
  114. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)
  115. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
  116. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
  117. ... 91 more
  118. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.search.SearchQueryInclude org.openmrs.module.fhir2.api.impl.FhirLocationServiceImpl.searchQueryInclude; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  119. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
  120. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  121. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  122. ... 102 more
  123. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchQueryInclude': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  124. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
  125. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1202)
  126. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
  127. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
  128. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
  129. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  130. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
  131. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  132. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1134)
  133. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)
  134. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
  135. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
  136. ... 104 more
  137. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.openmrs.module.fhir2.api.FhirLocationService org.openmrs.module.fhir2.api.search.SearchQueryInclude.locationService; nested exception is java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  138. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
  139. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  140. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
  141. ... 115 more
  142. Caused by: java.lang.LinkageError: loader constraint violation: loader (instance of org/openmrs/util/OpenmrsClassLoader) previously initiated loading for a different type with name "org/hl7/fhir/instance/model/api/IAnyResource"
  143. at java.lang.Class.forName0(Native Method)
  144. at java.lang.Class.forName(Class.java:264)
  145. at com.sun.proxy.$Proxy534.<clinit>(Unknown Source)
  146. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  147. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  148. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  149. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  150. at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:739)
  151. at org.springframework.aop.framework.JdkDynamicAopProxy.getProxy(JdkDynamicAopProxy.java:121)
  152. at org.springframework.aop.framework.ProxyFactory.getProxy(ProxyFactory.java:109)
  153. at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.createProxy(AbstractAutoProxyCreator.java:447)
  154. at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:333)
  155. at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.getEarlyBeanReference(AbstractAutoProxyCreator.java:232)
  156. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getEarlyBeanReference(AbstractAutowireCapableBeanFactory.java:819)
  157. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$2.getObject(AbstractAutowireCapableBeanFactory.java:529)
  158. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:192)
  159. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:173)
  160. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:240)
  161. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
  162. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)
  163. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)
  164. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)
  165. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
  166. ... 117 more
  167. INFO - EhCacheManagerFactoryBean.destroy(181) |2021-04-09 17:15:12,358| Shutting down EhCache CacheManager
  168. INFO - ServiceContext.doneRefreshingContext(843) |2021-04-09 17:15:12,360| Done refreshing Context
  169. Exception in thread "Thread-435" org.openmrs.module.ModuleException: Unable to run onStartup() method as Daemon
  170. at org.openmrs.api.context.Daemon.runStartupForService(Daemon.java:255)
  171. at org.openmrs.api.context.ServiceContext.lambda$runOpenmrsServiceOnStartup$2(ServiceContext.java:969)
  172. at java.lang.Thread.run(Thread.java:745)
  173. Caused by: org.hibernate.service.UnknownServiceException: Unknown service requested [org.hibernate.engine.jdbc.connections.spi.ConnectionProvider]
  174. at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:201)
  175. at org.hibernate.internal.AbstractSessionImpl.getJdbcConnectionAccess(AbstractSessionImpl.java:341)
  176. at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.<init>(JdbcCoordinatorImpl.java:114)
  177. at org.hibernate.engine.transaction.internal.TransactionCoordinatorImpl.<init>(TransactionCoordinatorImpl.java:89)
  178. at org.hibernate.internal.SessionImpl.<init>(SessionImpl.java:258)
  179. at org.hibernate.internal.SessionFactoryImpl$SessionBuilderImpl.openSession(SessionFactoryImpl.java:1589)
  180. at org.hibernate.internal.SessionFactoryImpl.openSession(SessionFactoryImpl.java:999)
  181. at org.openmrs.api.db.hibernate.HibernateContextDAO.openSession(HibernateContextDAO.java:273)
  182. at sun.reflect.GeneratedMethodAccessor306.invoke(Unknown Source)
  183. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  184. at java.lang.reflect.Method.invoke(Method.java:498)
  185. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  186. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
  187. at com.sun.proxy.$Proxy274.openSession(Unknown Source)
  188. at org.openmrs.api.context.Context.openSession(Context.java:717)
  189. at org.openmrs.api.context.Daemon$4.run(Daemon.java:228)
  190.  
RAW Paste Data