This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Accessing reports gives net.sf.jasperreports.engine.JRException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Accessing reports gives net.sf.jasperreports.engine.JRException:" Watch "Accessing reports gives net.sf.jasperreports.engine.JRException:" New topic

Accessing reports gives net.sf.jasperreports.engine.JRException:

Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 622
I have created an application and converted it into jar file

Here is the structure of jar (which i got after extracting it)
----other directories
required libraries and jars
.jasper files

Here is the codes :


Paul Clapham

Joined: Oct 14, 2005
Posts: 18541
    8 List Of Staffs.jasper

This is quite straightforward. There was no file by that name in the current working directory when you ran the application.
Kunal Lakhani
Ranch Hand

Joined: Jun 05, 2010
Posts: 622
Thanks Paul Clapham for your reply. I have mentioned the structure of jar and location of all .jasper files.

I have also tried with "/List Of Staffs.jasper" in the code
I agree. Here's the link:
subject: Accessing reports gives net.sf.jasperreports.engine.JRException:
Similar Threads
Error while connecting Applet to database within browser
cant create boxlayout demo ?
Persistence.xml file not wokring in JGrasp IDE
swing with mysql connection1
null pointer