Application Name: OpenMRS Reference Application
Version Number: 2.3
Question:
I am trying to use some methods from reporting module in dhisreport module. I am trying to display a set of report definitions similar to this ReportListController. I have included reporting version 0.9.8 in the pom of my module.
But, I am getting an error - java.lang.ClassNotFoundException: org.openmrs.module.reporting.report.definition.service.ReportDefinitionService. I have tried restarting the server, but, didn’t help.
To clarify what Darius is saying, your module also needs to declare the reporting module as a required module in the config.xml file because it’s what makes reporting classes visible to your module’s classloader, can you confirm that?