Jump to content
Changes to the Jaspersoft community edition download ×

Groovy error in a Java project with iReport !?


AwsLau

Recommended Posts

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/DefaultGroovyMethods

In 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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...