Darshan Hiranandani : What might be causing OpenMRS to crash after uploading CommonLab?

Hi Team,

I’m encountering an issue with starting OpenMRS. Here’s the error message I’m seeing:

Unable to start OpenMRS. Error thrown was: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘messageSourceServiceTarget’… [Error details continue]

The error indicates a series of problems related to bean creation and dependencies, particularly involving the sessionFactory and various beans depending on it.

Could anyone offer suggestions on how to resolve the following issues?

  1. Dependency Resolution: The sessionFactory seems to be a central point of failure. How can I troubleshoot or fix issues with this bean that is causing a chain reaction of failures?
  2. Class Not Found: There are errors indicating missing classes like DefaultAnnotationHandlerMapping. What steps should I take to ensure all required classes and libraries are correctly included and available?
  3. Bean Creation Issues: Given the complex dependency tree, are there any specific debugging strategies or tools you would recommend to isolate and resolve these bean creation problems?

Any advice or insights would be greatly appreciated!

Thanks, Darshan Hiranandani

drop the entire logs at https://pastebin.com

with screenshots so we can see.