Jump to content
Changes to the Jaspersoft community edition download ×

java.lang.ClassCastException: dori.jasper.eng


Recommended Posts

By: Chonsiu - chonsiu

java.lang.ClassCastException: dori.jasper.eng

2003-03-13 22:46

Hi I try to generate a report in PDF format, but this error occurs.....can anybody help me ?

 

java.lang.ClassCastException: dori.jasper.engine.JasperReport

at dori.jasper.engine.JasperExportManager.exportReportToPdfFile(JasperExportManager.java:96)

 

Thx...

 

 

 

 

By: Teodor Danciu - teodord

RE: java.lang.ClassCastException: dori.jasper.eng

2003-03-14 02:54

 

Hi,

 

The reports have to filled before being exported.

You are supplying a report template to the exporter

instead if a generated report (JasperPrint object or .jrprint file).

 

Check this for details:

http://jasperreports.sourceforge.net/quick.how.to.html

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...