# Unable to open DHIS reporting module from admin interface

**URL:** <https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604>\
**Category:** DHIS2 Integration\
**Created:** [May 12, 2022, 5:09am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604 "2022-05-12T05:09:17Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![satyadoorva](https://talk.openmrs.org/letter_avatar/satyadoorva/32/5_5575768a8748004e209b776fc1b2916d.png) [@satyadoorva](https://talk.openmrs.org/u/satyadoorva)\
**Post date:** [May 12, 2022, 5:09am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/1 "2022-05-12T05:09:17Z")

</div>

Hi,

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](https://pastebin.com/iZuWnpNe).

I have pasted `hibernate-core-4.3.7.Final.jar` in `/opt/tomcat8/lib` directory as well.

Would appreciate the help.

Thanks

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 12, 2022, 7:04am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/2 "2022-05-12T07:04:57Z")

</div>

Which version of the module are you running?

---

<div class="post-metadata">

**Author:** ![satyadoorva](https://talk.openmrs.org/letter_avatar/satyadoorva/32/5_5575768a8748004e209b776fc1b2916d.png) [@satyadoorva](https://talk.openmrs.org/u/satyadoorva)\
**Post date:** [May 12, 2022, 7:11am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/3 "2022-05-12T07:11:41Z")

</div>

DHIS2 Reporting Module 2.0

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 12, 2022, 7:24am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/4 "2022-05-12T07:24:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![satyadoorva](https://talk.openmrs.org/letter_avatar/satyadoorva/32/5_5575768a8748004e209b776fc1b2916d.png) [@satyadoorva](https://talk.openmrs.org/u/satyadoorva)\
**Post date:** [May 12, 2022, 7:29am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/5 "2022-05-12T07:29:51Z")

</div>

So which module should I use for this platform

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 12, 2022, 7:39am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/6 "2022-05-12T07:39:01Z")

</div>

It does not exist. The module requires a developer to upgrade it to support the version of the OpenMRS platform that you are running.

---

<div class="post-metadata">

**Author:** ![satyadoorva](https://talk.openmrs.org/letter_avatar/satyadoorva/32/5_5575768a8748004e209b776fc1b2916d.png) [@satyadoorva](https://talk.openmrs.org/u/satyadoorva)\
**Post date:** [May 12, 2022, 8:33am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/7 "2022-05-12T08:33:04Z")

</div>

btw @dkayiwa where should I pull openmrs-3 from then

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 12, 2022, 8:42am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/8 "2022-05-12T08:42:06Z")

</div>

As a developer, take a look at this: [OpenMRS Frontend 3.0 Documentation for Developers](http://o3-dev.docs.openmrs.org/#/)

---

<div class="post-metadata">

**Author:** ![jayasanka](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jayasanka/32/22204_2.png) [@jayasanka](https://talk.openmrs.org/u/jayasanka)\
**Post date:** [May 12, 2022, 5:44pm UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/9 "2022-05-12T17:44:46Z")

</div>

@heshan @piumal1999 Could you please look into this?

---

<div class="post-metadata">

**Author:** ![dkayiwa](https://talk.openmrs.org/user_avatar/talk.openmrs.org/dkayiwa/32/179_2.png) [@dkayiwa](https://talk.openmrs.org/u/dkayiwa)\
**Post date:** [May 12, 2022, 5:53pm UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/10 "2022-05-12T17:53:01Z")

</div>

Wasn’t that module replaced with this? [GitHub - openmrs/openmrs-module-dhisconnector](https://github.com/openmrs/openmrs-module-dhisconnector)

---

<div class="post-metadata">

**Author:** ![jayasanka](https://talk.openmrs.org/user_avatar/talk.openmrs.org/jayasanka/32/22204_2.png) [@jayasanka](https://talk.openmrs.org/u/jayasanka)\
**Post date:** [May 13, 2022, 5:00pm UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/11 "2022-05-13T17:00:00Z")

</div>

Ah, Yes. It’s no longer maintained.

My bad. I thought he was talking about the connector module.

---

<div class="post-metadata">

**Author:** ![satyadoorva](https://talk.openmrs.org/letter_avatar/satyadoorva/32/5_5575768a8748004e209b776fc1b2916d.png) [@satyadoorva](https://talk.openmrs.org/u/satyadoorva)\
**Post date:** [May 24, 2022, 6:49am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/12 "2022-05-24T06:49:04Z")

</div>

I am getting error when I copied dhisconnector omod in openmrs/modules directory. The error is

[here](https://controlc.com/d44e2d5a)

My JDK is OpenJDK 8 , Tomcat - Tomcat8 and Mysql - 8

---

<div class="post-metadata">

**Author:** ![piumal1999](https://talk.openmrs.org/user_avatar/talk.openmrs.org/piumal1999/32/13557_2.png) [@piumal1999](https://talk.openmrs.org/u/piumal1999)\
**Post date:** [May 24, 2022, 5:47pm UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/13 "2022-05-24T17:47:27Z")

</div>

These steps may help you to fix this issue

1. Remove the existing omod file
2. Remove DefaultAnnotationHandlerMapping bean from `openmrs-module-dhisconnector/omod/src/main/resources/webModuleApplicationContext.xml` file. Remove these 2 lines:

```auto
<!-- Annotation based controllers -->
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping"/>

```

1. Rebuild the module. `mvn clean install`
2. Copy the omod file to the openmrs/modules directory
3. Restart the openmrs instance

This is only a workaround. I couldn’t find the exact reason for the problem.

---

<div class="post-metadata">

**Author:** ![satyadoorva](https://talk.openmrs.org/letter_avatar/satyadoorva/32/5_5575768a8748004e209b776fc1b2916d.png) [@satyadoorva](https://talk.openmrs.org/u/satyadoorva)\
**Post date:** [May 25, 2022, 5:34am UTC](https://talk.openmrs.org/t/unable-to-open-dhis-reporting-module-from-admin-interface/36604/14 "2022-05-25T05:34:10Z")

</div>

Thanks a lot @piumal1999 , that helped a lot.

Thanks again.

Satya
