wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes jasper error in linux 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 "jasper error in linux" Watch "jasper error in linux" New topic
Author

jasper error in linux

praveen kanakarajan
Ranch Hand

Joined: Apr 27, 2005
Posts: 54
HI
Im getting error while calling a jasper report .I believe its something related to linux .i tried setting DISPLAY still its not working.Im using linux with Websphere as server.
<CODE>
java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
at java.lang.Class.forName1(Native Method)
at java.lang.Class.forName(Class.java(Compiled Code))
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:91)
at net.sf.jasperreports.engine.util.JRGraphEnvInitializer.initializeGraphEnv(JRGraphEnvInitializer.java:58)
at net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:347)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:77)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.<init>(JRVerticalFiller.java:59)
at net.sf.jasperreports.engine.fill.JRFiller.createFiller(JRFiller.java:147)
at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:119)
at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:420)
at ReportServlet.returnReportPrint(ReportServlet.java:178)
at ReportServlet.processRequest(ReportServlet.java:102)
at ReportServlet.doGet(ReportServlet.java:77)
</CODE>

Please help in solving this.

Regards
praveen
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41110
    
  45
See here for some information and solutions.
[ May 09, 2007: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: jasper error in linux
 
Similar Threads
java.lang.NoClassDefFoundError: while running jasper report from servlet
java.lang.ExceptionInInitializerError
error while invoking jasper from servlet using applet
JASPER problem!!
Jasper Report Error