This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 19728
  10 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Accessing reports gives net.sf.jasperreports.engine.JRException:
It's not a secret anymore!