iReport 1.3.2 don't work with groovy

reports with groovy language don't compile.
If I use previous version 1.2.1, all work.


java.lang.AbstractMethodError: org.codehaus.groovy.control.CompilationUnit$;Lorg/codehaus/groovy/ast/ClassNode;)V at org.codehaus.groovy.control.CompilationUnit$ at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes( at org.codehaus.groovy.control.CompilationUnit.classgen( at org.codehaus.groovy.control.CompilationUnit.compile( at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits( at at at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile( at at Source)
drupal7_anonymous's picture

1 Answer:


I also ran into that problem two weeks ago.
Giulio immediately posted a bug for this at

He told me that...
"iReport 1.3.2 ships with an old groovy jar.
You need to replace the old groovy-all-1.0-beta-10.jar (in the lib directory) with the new groovy-all-1.0.jar available in JasperReports 1.3.2 or in the iReport SVN repository."

Just a bit of information...
I still had problems running 1.3.2 after replacing the old beta jar so I just stayed with 1.3.1... at least for now.
There are actually several similar observations about 1.3.2 that you will find in the forum and I'm pretty sure that Giulio made several corrections and bug fixes to 1.3.2 since I tried it out.

redwine's picture
Joined: Mar 7 2007 - 1:25am
Last seen: 16 years 2 weeks ago