Thursday, March 22, 2012

Errors in Jasper Report

Errors in Jasper Reports:-


net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
1. Only a type can be imported. it.businesslogic.ireport.IReportScriptlet resolves to a package
import it.businesslogic.ireport.IReportScriptlet;
       <--------------------------------------->
1 errors

Solution :- remove this line from the report(.jrxml) as shown below..This might come in ireport version 2.0.1 and when your ate using jasper jar 3.1.2