• 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
  • Liutauras Vilda
  • Paul Clapham
  • paul wheaton
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Rob Spoor
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:

Problems with JasperReports

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
Im trying code posted in this url:
Myexample

when i execute it i get the following error messages

It buils report with detail from an arraylist




Any Help??? Please
 
Bartender
Posts: 1844
Eclipse IDE Ruby Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to compile the report first and use the generated .jasper file instead of the .jrxml file.

I compile my reports as part of the build, so I use the custom ANT task:

net.sf.jasperreports.ant.JRAntCompileTask


But you can also compile the report manually (though an editor such as iReport or though a call in the Jasper API
 
steckis fzas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I compiled the *.jrxml files so now i Have RelAlunos.jasper and RelAlunosDisciplinas.jasper.
Here`s my
example changed

But now I get this errors



:S

[ August 04, 2007: Message edited by: steckis fzas ]
[ August 04, 2007: Message edited by: steckis fzas ]
 
If you believe you can tell me what to think, I believe I can tell you where to go. Go read this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic