Hi All..
 
I am trying to produce an image of a pie chart using JFreeChart and then embed that into the PDF document. The following is the error I am getting while I am trying to create the image.
 
  ExtendedMessage: [Servlet Error]-[sun/awt/X11GraphicsEnvironment]: 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:72)
 at java.awt.Font.initializeFont(Font.java:285)
 at java.awt.Font.<init>(Font.java:319)
 at org.jfree.chart.plot.PiePlot.<clinit>(PiePlot.java:186)
 at org.jfree.chart.ChartFactory.createPieChart3D(ChartFactory.java:416)
 at ebompdo.aarDispositionCountReport.createChart(aarDispositionCountReport.java:1067)
 at ebompdo.aarDispositionCountReport.doPost(aarDispositionCountReport.java:945)
 at ebompdo.aarDispositionCountReport.doGet(aarDispositionCountReport.java:77)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
 at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
 at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
 at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
 at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:292)
 at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
 at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:47)
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:877)
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:502)
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:178)
 at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
 at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)
 at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
 at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:267)
 at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatch(WS390Router.java:405)
 at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.dispatchByURI(WS390Router.java:364)
 at com.ibm.ws390.wc.httpcatcher.WS390Router$WS390RouterDispatcher.service(WS390Router.java:318)
 at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:68)
 at com.ibm.ws390.wc.http.HttpConnection.readAndHandleRequest(HttpConnection.java:518)
 at com.ibm.ws390.wc.http.HttpConnection.handle390Request(HttpConnection.java:437)
 at com.ibm.ws390.wc.httpcatcher.WS390HttpTransport.handleRequest(WS390HttpTransport.java:94)
 at com.ibm.ws390.wc.httpcatcher.WS390HttpTransportWrapper.httprequest(WS390HttpTransportWrapper.java:55)
 at com.ibm.ws390.orb.ServerRegionBridge.invoke(ServerRegionBridge.java:386)
 at com.ibm.ws390.orb.ORBEJSBridge.invoke(ORBEJSBridge.java:174)
Please help me out in this regards.
Thanx in advance.
 
Regards,
Krishna.


   

Regards,
Krishna Chaitanya Beri,
Software Engineer,
DCXMTCC,ANAD,
DaimlerChrysler, Auburn Hills, MI,
Direct   # 248-512-8851
Home  # 248-853-7053
 
"True happiness is wanting what you have, not having what you want."
 
 


Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Reply via email to