I'm writing a webapp for tomcat that uses a servlet to display a report, using jasperreports-1.2.6. The report is compiled at compile-time through an ant-task, then it is loaded at runtime with: Code: JasperReport jasperReport = (JasperReport)JRLoader.loadObject(jasperReportFile); but this instruction thwows an exception (here is e.toString() output): Code:[code] net.sf.jasperreports.engine.JRException: Class not found when loading object from file : /home/riccardo/Progetto/tomcat/webapps/jasperPortlet/WEB-INF/report/WebAppReport.jasper and of course the file exits and it's the result of a successful compilation of a jrxml file... What's happening here? I made an hello world report with ireport and it doesn't work anyway.