Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jasper error in linux

 
praveen kanakarajan
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See here for some information and solutions.
[ May 09, 2007: Message edited by: Ulf Dittmer ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic