I am trying to implement a small report through iReport. My report works fine in iReport but I get the below error while “Creating” it in DHIS2:
HTTP Status 500 - Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/codehaus/groovy/control/CompilationFailedException
Kindly help me to resolve this issue.
Dear @Jeton Mehmeti,
I see you have raised a similar question in Jul 2001 but I don’t see any replies for that. Did you manage to fix it? Can you please spare some time to help me to resolve this issue.
Just Got this excerpt from a user who experienced more or less a similar issue:
You will have to set the language value in your template to Java. There are two ways you can do this:
If you are using iReport, select the root object in your Report Inspector (the one with the same name as your report). Then in the Properties window, select Java from the Languages drop-down.
If you are editing the raw mark-up in the JRXML file, remove language="groovy" from the file altogether.
Then try to recompile as you recreate it in DHIS2 - you should be sorted.