Jump to content

BruceBerry

Members
  • Posts

    2
  • Joined

  • Last visited

BruceBerry's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. the file exists! I wrote the wrong path a while ago and it gave me a slighltly different error, now the path is 100% correct. The file is here even after "maven clean && maven war" so it IS the file generated by the ant task.
  2. 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.
×
×
  • Create New...