burferd Posted April 2, 2007 Share Posted April 2, 2007 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 More sharing options...
burferd Posted April 3, 2007 Author Share Posted April 3, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now