t.e.i.a2005 Posted February 2, 2016 Share Posted February 2, 2016 well i installed jasperreport plugin 5.6.0 in netbeans 8.0.2 and when i make a new report and try to compile i got the next error: Compiling to file... C:...report1.jasper Errors compiling C:...report1.jasper! Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector@853595net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:Could not instantiate global transform class groovy.grape.GrabAnnotationTransformation specified at jar:file:/C:/Users/E9891U/AppData/Roaming/NetBeans/8.0.2/modules/ext/groovy-all.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: groovy.grape.GrabAnnotationTransformationCould not instantiate global transform class org.codehaus.groovy.ast.builder.AstBuilderTransformation specified at jar:file:/C:/Users/E9891U/AppData/Roaming/NetBeans/8.0.2/modules/ext/groovy-all.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation2 errors at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:113) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:201) at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:354) at net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:270) at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:563) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:528) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:Could not instantiate global transform class groovy.grape.GrabAnnotationTransformation specified at jar:file:/C:/Users/E9891U/AppData/Roaming/NetBeans/8.0.2/modules/ext/groovy-all.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: groovy.grape.GrabAnnotationTransformationCould not instantiate global transform class org.codehaus.groovy.ast.builder.AstBuilderTransformation specified at jar:file:/C:/Users/E9891U/AppData/Roaming/NetBeans/8.0.2/modules/ext/groovy-all.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation because of exception java.lang.ClassNotFoundException: org.codehaus.groovy.ast.builder.AstBuilderTransformation2 errors at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302) at org.codehaus.groovy.control.ProcessingUnit.completePhase(ProcessingUnit.java:143) at org.codehaus.groovy.control.ProcessingUnit.gotoPhase(ProcessingUnit.java:162) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:507) at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:109) ... 7 moreCompilation running time: 4,622So can somebody help me???, I suppose is a problem with groovy-all.jar but im not shure at all, many thanks. Link to comment Share on other sites More sharing options...
pllanos Posted February 4, 2016 Share Posted February 4, 2016 Just remove "language=groovy" from Report1.jrxml Link to comment Share on other sites More sharing options...
Solution pllanos Posted February 4, 2016 Solution Share Posted February 4, 2016 Just remove "language=groovy" from Report1.jrxml 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