Hi, I was using jfree 1.0 with Java 5 and Tomcat 5.5.7 to create Gantt charts and it works perfectly; but I have to change my versions to Java 1.4 and Tomcat 5.0.28 because of another aplication in wish I was running jfree and after that jfree stop working, the error the browser present me when I try to see the graph is:
Estado HTTP 500 -
--------------------------------------------------------------------------------
type Informe de Excepción
message
description: the server found a internal error() wich prevent to fullfil this requirement.
exception
javax.servlet.ServletException: Invoker service() exception
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:477)
org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:169)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NoClassDefFoundError
org.jfree.chart.ChartFactory.createGanttChart(ChartFactory.java:948)
Gantt3.doGet(Gantt3.java:73)
Gantt3.doPost(Gantt3.java:102)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:419)
org.apache.catalina.servlets.InvokerServlet.doPost(InvokerServlet.java:169)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
--------------------------------------------------------------------------------
Apache Tomcat/5.0.28
I hope you can help me...
JFREE 1.0 with JAVA 1.4 and TOMCAT 5.0.28
Hi,
check, whether you have the correct jcommon version installed for each webapp and that you did not put the jcommon into $JRE/lib/ext or Tomcats $CATALINA_HOME/common/lib directory. Each web application should have its own, distinct set of libraries (especially since JCommon/JFreeChart is usually not backward compatible (for now), so strange errors might arise from that).
Have mo' fun,
said Thomas
check, whether you have the correct jcommon version installed for each webapp and that you did not put the jcommon into $JRE/lib/ext or Tomcats $CATALINA_HOME/common/lib directory. Each web application should have its own, distinct set of libraries (especially since JCommon/JFreeChart is usually not backward compatible (for now), so strange errors might arise from that).
Have mo' fun,
said Thomas
-
- Posts: 21
- Joined: Fri Sep 30, 2005 4:00 am
- Location: Malaysia
- Contact:
JFreeChart 1.0 is not supported by JRE 1.3
I had the similar erro and problem too,
I have posted a thread in
http://www.jfree.org/phpBB2/viewtopic.php?p=44400#44400
http://www.jfree.org/phpBB2/viewtopic.php?p=44401#44401
I have checked the JCommon I am using it is the same, it is also JCommon 1.0.
I got the error when I am trying to refer to the CategoryAxis class, how can I solve this problem ?
I have posted a thread in
http://www.jfree.org/phpBB2/viewtopic.php?p=44400#44400
http://www.jfree.org/phpBB2/viewtopic.php?p=44401#44401
I have checked the JCommon I am using it is the same, it is also JCommon 1.0.
I got the error when I am trying to refer to the CategoryAxis class, how can I solve this problem ?
-
- Posts: 21
- Joined: Fri Sep 30, 2005 4:00 am
- Location: Malaysia
- Contact:
I already have snippets of Codes
I already have my snippets of codes written in here :-
http://www.jfree.org/phpBB2/viewtopic.php?p=44400#44400
the code compiled fine in J2SDK 1.4 and run fine in JRE 1.4, but when I move the class files to the Server with the JRE 1.3 Environment the error occurs
http://www.jfree.org/phpBB2/viewtopic.php?p=44400#44400
the code compiled fine in J2SDK 1.4 and run fine in JRE 1.4, but when I move the class files to the Server with the JRE 1.3 Environment the error occurs
-
- Posts: 21
- Joined: Fri Sep 30, 2005 4:00 am
- Location: Malaysia
- Contact:
Lets disscuss this problem together.
I have been recomended some solutions the JFreeChart Forum, and my attempts to solve this problems are as posted in,
http://www.jfree.org/phpBB2/viewtopic.p ... &&start=15
So lets us go there and disscuss this together.
http://www.jfree.org/phpBB2/viewtopic.p ... &&start=15
So lets us go there and disscuss this together.