jQuery in Action, 3rd edition
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "jasper error in linux" Watch "jasper error in linux" New topic

jasper error in linux

praveen kanakarajan
Ranch Hand

Joined: Apr 27, 2005
Posts: 54
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.
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)

Please help in solving this.

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
See here for some information and solutions.
[ May 09, 2007: Message edited by: Ulf Dittmer ]
I agree. Here's the link: http://aspose.com/file-tools
subject: jasper error in linux
It's not a secret anymore!