aspose file tools*
The moose likes Other Java Products and Servers and the fly likes View Jasper Report Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "View Jasper Report" Watch "View Jasper Report" New topic

View Jasper Report

Ali lorfe

Joined: Jun 06, 2013
Posts: 1
Hi experts , I am trying to view Jasper Report,I put all ireport jar files and log4j jar in the class path,
still I am getting this error why !!!

This following code I used in my example

String reportSource = "report1.jrxml";
JasperReport jR = JasperCompileManager.compileReport(reportSource);
JasperPrint JP = JasperFillManager.fillReport(jR, null, conn);

the exception is

log4j:WARN No appenders could be found for logger (net.sf.jasperreports.engine.xml.JRXmlDigesterFactory).
log4j:WARN Please initialize the log4j system properly.

bala nannaka
Ranch Hand

Joined: Apr 02, 2007
Posts: 49
add appender some thing like this in log4j.xml

I agree. Here's the link:
subject: View Jasper Report
Similar Threads
Not able to take export backup of Jasper reports
How to call login.jsp in eclipse
Cannot export PDF File (Jasper reprting)
Help me with the calling of jasper reports through java code
Jasper Report and JAR file