Jump to content

Web Start - java.io.FileNotFoundException

Recommended Posts

By: Jose Gulisano - jgulisano

Web Start - java.io.FileNotFoundException

2003-06-27 12:15



I have the following code that is running fine within my JBuilder IDE:


JasperPrint jasperPrint = JasperManager.fillReport(

"Summary.jasper" , param, dbConn);


I am deploying the application via Web Start and everything works fine, except when I execute the above code the app crashes with the following:


java.io.FileNotFoundException: ireportsintDistSummary.jasper

at dori.jasper.engine.util.JRLoader.loadObject(JRLoader.java:116)

at dori.jasper.engine.JasperFillManager.fillReport(JasperFillManager.java:157)

at dori.jasper.engine.JasperManager.fillReport(JasperManager.java:666)

at massalloc.ReportWorker.runIntDistSummary(ReportWorker.java:30)


I've tried placing the file in different locations, and relative as well as absolute paths, but nothing seems to work. Has anyone encountered this and knows hot to fix it??



Link to comment
Share on other sites

  • 6 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

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