• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Mike London

dynamic report usiing ireport exception

Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

I am getting below exception when try to run dynamic report using iReport.
Version used:

Caused by: java.lang.NoSuchMethodError: net.sf.jasperreports.engine.design.JasperDesign.getTemplates()[Lnet/sf/jasperreports/engine/JRReportTemplate;
at ar.com.fdvs.dj.core.DJJRDesignHelper.downCast(DJJRDesignHelper.java:236)
at ar.com.fdvs.dj.core.DynamicJasperHelper.generateJasperDesign(DynamicJasperHelper.java:190)
at ar.com.fdvs.dj.core.DynamicJasperHelper.generateJasperReport(DynamicJasperHelper.java:550)
at ar.com.fdvs.dj.core.DynamicJasperHelper.generateJasperReport(DynamicJasperHelper.java:533)
at test.DynamicJasperTemplate.buildReport(DynamicJasperTemplate.java:98)

But above said method is very much available in jasperreports jar. Please help me out to resolve this.

Thanks in advance,
    Bookmark Topic Watch Topic
  • New Topic