Compilation error when generating Jasper Report

Mon, Nov 24, 2014

Java Programming #jasper report #java #programming #spring

Sometimes you will encounter this error complaining no class found when try to run Jasper Report in your application.

This happens when you selected Groovy instead of Java for the report language. iReport designer will default the language to Groovy whenever you create a new report. So how do we fix this?

First click on the report at the side bar.

Then in the properties window, change the “Language” from Groovy to Java.

Recompile and run your report again, this error should be gone.