Hi, 
Try to set the property...

System.setProperty("jasper.reports.compile.class.path",
System.getProperty("java.class.path"));

This has relation with appserver that these using, and the classloader
because jasperreports uses the classloader of another way.

 
 
 
 
 
 
 

Francisco Martin Ronconi
[EMAIL PROTECTED]
cel: (11) 15-4400-0676
www.fdvsolutions.com
 
 
 
 
 
 
Billinghurst 1712, 8vo D (CP1425) :: Buenos Aires, Argentina :: (54-11)
4826-9464
 

-----Mensaje original-----
De: B.Sridhar [mailto:[EMAIL PROTECTED] 
Enviado el: MiƩrcoles, 25 de Octubre de 2006 04:34 a.m.
Para: user@struts.apache.org
Asunto: jasper reports.jar problem..

Hi,

Iam writing  an application which generates reports using jasper reports
eclipse3.1  is the IDE. For generating ".jrxml" iam using ireport
tool.Ihave 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
"*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


-- 
B.Sridhar


__________ NOD32 1.1826 (20061023) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to