AwsLau Posted January 14, 2013 Share Posted January 14, 2013 Hello,I made a report (with several subreports) using iReport 4.8.0, and export it as Runnable .jar (with Eclipse).I can run it with a MS-DOS command, and all is running well in my computer, and in some others computers.But, in one computer, when I execute the report, i have an exception :Exception in thread "main" java.lang.NoClassDefFoundError : org/codehaus/groovy/runtime/DefaultGroovyMethodsIn iReport options, I use langage Java (and not language Groovy).Can someone explain me that ?Thanks a lot Link to comment Share on other sites More sharing options...
rodrigogouveia Posted January 15, 2013 Share Posted January 15, 2013 Set the language property to Java in the iReport. The language is a property of the root element of Report Inspector Link to comment Share on other sites More sharing options...
AwsLau Posted January 15, 2013 Author Share Posted January 15, 2013 Thanks.In fact, I had "Language Java" in the options of iReport.But, I had also some subreports with "Langage Groovy" in the properties, it's why it didn't work.I have changed to Java everywhere, and it seems to work well now. 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