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 Class not found 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 "Class not found" Watch "Class not found" New topic

Class not found

Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3640

I am getting following error,

jasperFile = �Item_List.jasper�;
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperFile, parameters, con);

net.sf.jasperreports.engine.JRException: Class not found when loading object from file : Item_List.jasper

How to solve this?


My blood is tested +ve for Java.
Mike Farnham
Ranch Hand

Joined: Sep 25, 2001
Posts: 76
Just a rough guess you might need to further clarify the path to the file.
It is unlikely that whereever you are running this code knows exactly where to locate the file you are specifying.

somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
I think, some object in jasper report file not found or missing.

Java Developer, Thailand
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: Class not found
jQuery in Action, 3rd edition