Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

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

 
reply
    Bookmark Topic Watch Topic
  • New Topic