• 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 ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Calling iReport from eclipse,JSF

 
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I want to call iReport from my java application.
Java application uses Eclipse, jdk 1.6 with JSF & Spring framework.
I have created simple iReport using 3.7version. This report is getting compiled & viewed properly independently.

Now I want to view this report on click of 'View Report' button on my JSF page.
So I called a function on click of button as follows:



Now the problem is I am getting error at this line:JasperReport jasperReport =JasperCompileManager.compileReport(jasperDesign); as
Language "groovy" not supported by this report compiler.

Where am I missing?
I have included foll jars:
iText2.1
groovy-all-1.5.5
jdt-compiler-3.1
jasperreports 3.7

Can anybody help? I am struggling with this error for last 3 days.

Thanks,
Amita

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic