I have installed openmrs-2.6 on tomcat8 and java8. Rest of the modules are working correctly, however when I click on DHIS2 menu item, I am getting this error.
I have pasted hibernate-core-4.3.7.Final.jar in /opt/tomcat8/lib directory as well.
That module has never been upgraded to support the openmrs platform version that you are running. This would require a developer to checkout the code and do the needful.
Remove DefaultAnnotationHandlerMapping bean from openmrs-module-dhisconnector/omod/src/main/resources/webModuleApplicationContext.xml file. Remove these 2 lines:
<!-- Annotation based controllers -->
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/>
Rebuild the module. mvn clean install
Copy the omod file to the openmrs/modules directory
Restart the openmrs instance
This is only a workaround. I couldn’t find the exact reason for the problem.