Jump to content
Changes to the Jaspersoft community edition download ×

Problem generating report


Recommended Posts

I have a canned repport that runs fine in iReport.


I am trying to get it to print from my application.

This is the code I am using:



JasperPrint jp = JasperFillManager.fillReport( reportDir+"Test_Report.jasper", new HashMap(), mySQLConnection);

JasperViewer.viewReport( jp, true );



I get the following error from the call to JasperFillManager.fillReport()



"net.sf.jasperreports.engine.JRException: Error loading expression class : Test_Report_1175200944899_991206"



Can anyone tell me what I am doing wrong and why I get this error??

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Can anyone at least tell me if what I am attempting to do in code is correct or if I am doing something wrong??



I am using JR 1.3.0, J2EE (SDK1.4.2), Sun Application server 8.2.



Does anyone use JR1.3.0 and should it work in this environment??

Link to comment
Share on other sites

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