Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with JasperReports

 
steckis fzas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
 
Joel McNary
Bartender
Posts: 1840
Eclipse IDE Java Ruby
  • Mark post as helpful
  • send pies
  • 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
  • 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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic