Hi,
I m facing a problem while generating vertical bar chart using jfreechart-0.8.1.jar and jcommon-0.7.0.jar. i m using jdk1.2 version and using JRun as server. The system throws
(Running servlet) java.lang.NoSuchFieldError: com.jrefinery.ui.about.ProjectInfo: field logo not found
at com.jrefinery.chart.JFreeChartInfo.<init>(Unknown Source)
at com.jrefinery.chart.JFreeChart.<clinit>(Unknown Source)
at com.jrefinery.chart.ChartFactory.createVerticalBarChart(Unknown Source)
at com.cognizant.wms.timesheet.StatusreportBean.statusReport(StatusreportBean.java, Compiled Code)
at com.cognizant.wms.timesheet.ReportServlet.doGet(ReportServlet.java, Compiled Code)
at com.cognizant.wms.timesheet.ReportServlet.doPost(ReportServlet.java:416)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at com.livesoftware.jrun.JRun.runServlet(JRun.java, Compiled Code)
at com.livesoftware.jrun.JRunGeneric.handleConnection(JRunGeneric.java, Compiled Code)
at com.livesoftware.jrun.JRunGeneric.handleProxyConnection(JRunGeneric.java, Compiled Code)
at com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(JRunProxyServiceHandler.java, Compiled Code)
at com.livesoftware.jrun.service.ThreadConfigHandler.run(ThreadConfigHandler.java, Compiled Code)
Can anybody help me
Problem in generating bar chart
-
- Posts: 10
- Joined: Fri Feb 25, 2005 5:55 pm
- Contact:
should be the problem with xServer
You need to enable xServer for java2d to be running. try the same piece of application on Tomcat. If u get DISPLAY 0.0 bla bla error then it must be something wrong with the java2d. Carefully read the FAQ's and in that there is one question which talks about when the same webapplication is shifted from windows to Linux it doesnt work. Just see that. They have given two links to answer that question.
You need to enable xServer for ur jfreecharts to work as they intern use java2D. i hope this will help
You need to enable xServer for ur jfreecharts to work as they intern use java2D. i hope this will help