Unable to load/find moduleActivator

Hi Team,

Whatever modules I am trying to add it is giving me the below errors and I am really annoyed. Can someone please let me know what is the reason behind it?

  1. Error while trying to start module Unable to load/find moduleActivator: ‘org.openmrs.module.jasperreport.JasperReportActivator’ Module: Jasper Reports Module

  2. Error while trying to start module Unable to load/find moduleActivator: ‘org.openmrs.module.simplelabentry.SimpleLabEntryActivator’ Module: simplelabentry

  3. Error while trying to start module Unable to load/find moduleActivator: ‘org.openmrs.module.medicalproblem.MedicalProblemActivator’ Module: Medical Problem

  4. Error while trying to start module Unable to load/find moduleActivator: ‘org.openmrs.module.rolebasedhomepage.RoleBasedHomePageModuleActivator’ Module: Role-Based Homepage

:tired_face:

For jasper, i fixed at https://github.com/OpenHMIS/openmrs-module-jasperreports/pull/7 So you should be able to compile and use the snapshot version without errors, if they have not released. :slight_smile:

Could you please do it for “Medical Problem Module” (Error while trying to start module Unable to load/find moduleActivator: ‘org.openmrs.module.medicalproblem.MedicalProblemActivator’ Module: Medical Problem) and other module I have listed above.

Or Can you tell me how to add support for Openmrs 2.x?

In the module, change the platform version to 2.0.2 and then fix the compiler errors. A look at the above commit that i made should help you too.

Hi @dkayiwa, I am getting error in starting Medical Problem module, could you let me know what all changes need to be done to enable it for 2.x version.

Error while trying to start module Unable to load/find moduleActivator: ‘org.openmrs.module.medicalproblem.MedicalProblemActivator’ Module: Medical Problem

This module is still in svn http://svn.openmrs.org/openmrs-modules/medicalproblem/ which means that it has been a number of year ever since a commit was made to it. Are you planning to develop it further? If yes, the first step would be moving it to github.

Actually I want a module for maintaing the BED Availablity in hospitlal. I found module InPatient( https://wiki.openmrs.org/display/docs/Inpatient+Care+Module+User+Guide) , it has a dependency on Medical Problem module and both module doesn’t support 2.x version.

Is there any other module which can fulfill my requirement?

@himjain241989 the other option is to use these modules on a lower version of the platform. Like platform 1.11.7

Hi @dkayiwa, Itried to run the [quote=“dkayiwa, post:7, topic:9464, full:true”] This module is still in svn http://svn.openmrs.org/openmrs-modules/medicalproblem/ which means that it has been a number of year ever since a commit was made to it. Are you planning to develop it further? If yes, the first step would be moving it to github. [/quote]

module in openmrs 1.11.7 as well as on 1.11.6 I am getting the same error. :tired_face:

1 Like

Paste the contents of the log file at pastebin.com for the instances when using platform 1.11.7

http://pastebin.com/sLnNwPeV

This is another error in the module. It has nothing to do with the platform version. So my recommendation is that you start by moving the module to github if you want to do further development for it. https://wiki.openmrs.org/display/docs/Migrating+to+Git

I am facing a similar issue https://github.com/openmrs/openmrs-module-smartonfhir.git

Error logs https://pastebin.com/kMCWnjsC

Solution for the error

1 Like