You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to d...@openmrs.org
I keep getting the error when I try to deploy a new module
"Unexpected exception parsing XML document from class path resource [applicationContext-service.xml]; nested exception is java.lang.NoClassDefFoundError: org/openmrs/module/reporting/cohort/definition/BaseCohortDefinition"
All my dependencies are fine and I can't locate the root of this problem. Help.
Tuti
Michael Seaton
unread,
Feb 25, 2013, 10:25:45 AM2/25/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to d...@openmrs.org
Do you have the reporting module listed as a required module within
your config.xml file?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to d...@openmrs.org
No I do not. Although I a have its dependency in the pom.xml and I already have it installed and running in my OpenMRS 1.9.2 installation.
--
Timothy Tuti, Senior Principal Partner, Hazelband Consulting Group Tel : (+254)(0)736262966 www.hazelband.com
Michael Seaton
unread,
Feb 26, 2013, 9:05:08 AM2/26/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to d...@openmrs.org
Hi Tuti,
If your module uses the reporting module API (eg. adds a new
CohortDefinition), your module needs to explicitly add a dependency
on the reporting module in it's config.xml file, in order for it to
work successfully. This is how the Classloader is designed.