• 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Problems with JasperReports

 
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
 
Bartender
Posts: 1840
Eclipse IDE Ruby Java
  • 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 ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!