Hi, I'm trying to run a simple JasperReport in Tapestry, but get strange exceptions:
[java] net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: [java] D:\workspace\SAB\simple_1299668551250_924092.java:4: package net.sf.jasperreports.engine does not exist [java] import net.sf.jasperreports.engine.*; [java] ^ [java] D:\workspace\SAB\simple_1299668551250_924092.java:5: package net.sf.jasperreports.engine.fill does not exist [java] import net.sf.jasperreports.engine.fill.*; [java] ^ [java] D:\workspace\SAB\simple_1299668551250_924092.java:18: cannot find symbol [java] symbol: class JREvaluator [java] public class simple_1299668551250_924092 extends JREvaluator ... I have no problems to run the same report standalone. Maybe I am completly wrong? I start the report this way: public StreamResponse onActionFromJasper() { try { JasperReport jasperReport = JasperCompileManager.compileReport("reports/simple.xml"); System.out.println("1"); //CustomDataSource dataSource = new CustomDataSource(); JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(),new JREmptyDataSource()); System.out.println("2"); JasperExportManager.exportReportToPdfFile(jasperPrint, "reports/simple.pdf"); System.out.println("3"); }catch(JRException e) { e.printStackTrace(); } return null; } Please help me to understand the way to work with JasperReports + Tapestry -- View this message in context: http://tapestry.1045711.n5.nabble.com/JasperReports-integration-tp3415368p3415368.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org