• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

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: 1843
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 ]
reply
    Bookmark Topic Watch Topic
  • New Topic