I am trying to compile my JasperReports template using an Ant script and Java. I am getting this error:
jasper java.lang.NoClassDefFoundError: org/codehaus/g
If you are using Maven, you must add the groovy dependency in your pom.xml.
org.codehaus.groovy groovy-all 2.4.10
In another case, you must add the library groovy in your lib folder (WEB-INF/lib)