I am trying to upload module A according to this issue but i keep hitting this error complaining about the spring configuration of beans in the applicationContext-service.xml yet am running the latest built version of core bundled with the latest built snapshot version of the legacy ui .Am currently being blocked with reproducing the error on the latest snapshot version of core.
Those two sample modules will need to be changed to be able to run on platform 2.4.0-SNAPSHOT due to changes in Spring. One real-world scenario to test this out is to try to load the FHIR and FHIR2 modules in the same OpenMRS instance. Those shouldn’t need any changes and produce the same problem.
Oh, shoot! I forgot there was web stuff in the FHIR module. The fix is really simple, though: In webModuleApplicationContext.xml find the line that looks like this:
@ibacher i was able to fix the error by removing the <bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/> spring bean mapping from the webModuleApplicationContext.xml of module A and module B .Am able to reproduce the issue now …