Click to See Complete Forum and Search --> : problem with jasperreports.jar


irs_bandari
10-25-2006, 02:37 AM
Hi,

Iam writing an application which generates reports using jasper reports eclipse3.1 is the IDE. For generating ".jrxml" iam using ireport tool.I have written a struts application which uses this .jrxml file to generate the report. I have added the jasperreports1.2.7.jar file into the webinf\lib folder and added it to the buildpaht. But when I execute the application, it is giving an exception saying that the

Errors were encountered when compiling report expressions class file:
F:\eclipse\report1_1161804447548_142344.java:4: package net.sf.jasperreports.engine does not exist
import net.sf.jasperreports.engine.*;

But I have added the jasperreports.jar file which has this package.
Please solve my prob

Khalid Ali
10-27-2006, 08:23 PM
well I am sure you have found your solution by now, however its obvious the path you have set is not working they way it should be.