Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Calling iReport from eclipse,JSF

Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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:
jasperreports 3.7

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


A wop bop a lu bob a womp bam boom. Tutti frutti ad:
Two software engineers solve most of the world's problems in one K&R sized book
    Bookmark Topic Watch Topic
  • New Topic