Guest Posted April 23, 2007 Share Posted April 23, 2007 reports with groovy language don't compile.If I use previous version 1.2.1, all work. Error: java.lang.AbstractMethodError: org.codehaus.groovy.control.CompilationUnit$ClassgenCallback.call(Lorg/objectweb/asm/ClassVisitor;Lorg/codehaus/groovy/ast/ClassNode;)V at org.codehaus.groovy.control.CompilationUnit$5.call(CompilationUnit.java:587) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:822) at org.codehaus.groovy.control.CompilationUnit.classgen(CompilationUnit.java:525) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:432) at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:97) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:190) at net.sf.jasperreports.engine.design.JRDefaultCompiler.compileReport(JRDefaultCompiler.java:105) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:128) at it.businesslogic.ireport.IReportCompiler.run(IReportCompiler.java:588) at java.lang.Thread.run(Unknown Source) Link to comment Share on other sites More sharing options...
Solution redwine Posted April 23, 2007 Solution Share Posted April 23, 2007 nzanaga, I also ran into that problem two weeks ago.Giulio immediately posted a bug for this at http://www.jasperforge.org/sf/go/artf2191?nav=1 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. Edwin Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now