Jump to content
Changes to the Jaspersoft community edition download ×

Do I need to recompile report?


burferd

Recommended Posts

I have a report compiled in iReport. Can I use the following:

 

 

JasperPrint jp = JasperFillManager.fillReport( reportName, new HashMap(), mySqlConnection ):

 

 

where reportName is the .jasper file created from iReport. The report runs fine in iReport.

 

 

Or do I need to recompile the .jrxml file within the java application first?

 

 

If I can use the .jasper report, why would I get the following error from the JasperFillManager call:

 

 

Error loading expression class : Test_Report_1175101457897_481266

 

 

My report is named Test_Report.jasper. What to do the numeric suffixes refer to?

 

 

What should I look at first to figure out why I get this error? Like I said, it works fine in iReport and the database connection string is the same for both iReport and the application.

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