Jump to content
Changes to the Jaspersoft community edition download ×

view subreport


ktrinad

Recommended Posts

By: RoyalScorpion - mohamedfakhry20

view subreport

2004-03-04 07:13

i run the example in subreport_tutorial and it works well, but i want to view the report through java application, i wrote

reportFile = JasperCompileManager.compileReportToFile(f.getCanonicalPath());

printableFile = JasperFillManager.fillReport(reportFile, null, getConnection());

JasperViewer.viewReport(printableFile);

 

this code generate the following exception :

java.io.InvalidClassException: dori.jasper.engine.base.JRBaseReport; local class incompatible: stream classdesc serialVersionUID = 406, local class serialVersionUID = 500

 

 

Can you help me please..

 

 

By: Jorge Augusto Pizzato - pizzato

RE: view subreport

2004-03-10 10:17

you update de jasper version to 5.0 in your classpath and not recompile the report with this version.

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...