Hello !,
Seems to be a basic question but i cant understand why.
I did install jfreechart and had it up and running on windows. When i try doing the same on Linux, i get the annoying classpath errors.
I did include the jar files (jfreechart-0.9.6.jar and the lib directory jar files in the path as well. I did give all possible paths. Even exploded the jar files and included the specific path in there.
I still end up getting the classpath Error
java.lang.NoClassDefFoundError
at com.jrefinery.chart.ChartFactory.createPieChart(ChartFactory.java:162)
My quesiton is are there any known problems relating to 0.9.6 version of jfreechart running on Tomcat 4.1.12. Using JDK 1.4.1
Any help is appreciated.
thanks,
goutam
createpie error . classpath.
Re: createpie error . classpath.
Oh.. It also compiles right and i can run the demo successfully.
- goutam
- goutam
Re: createpie error . classpath.
The error occurs only when i execute the url from the browser.
-thanks goutam
-thanks goutam
Re: createpie error . classpath.
My class path is as follows if this helps.
.:/usr/software/j2sdk1.4.1/lib:/usr/software/jakarta-tomcat-4.1.12/common/lib:/usr/software/jakarta-tomcat-4.1.12/common/classes:/usr/software/jakarta-tomcat-4.
1.12/common/lib/servlet.jar:/usr/software/jakarta-tomcat-4.1.12/server/lib:/usr/software/jakarta-tomcat-4.1.12/common/lib/mail.jar:/home/tomcat/rtap_admin/WEB-I
NF/classes:/home/tomcat/WEB-INF/classes:/usr/software/jfreechart-0.9.6:/usr/software/jfreechart-0.9.6/lib/jcommon-0.7.2.jar:/usr/software/jfreechart-0.9.6/jfreechart-0.9.6.jar
.:/usr/software/j2sdk1.4.1/lib:/usr/software/jakarta-tomcat-4.1.12/common/lib:/usr/software/jakarta-tomcat-4.1.12/common/classes:/usr/software/jakarta-tomcat-4.
1.12/common/lib/servlet.jar:/usr/software/jakarta-tomcat-4.1.12/server/lib:/usr/software/jakarta-tomcat-4.1.12/common/lib/mail.jar:/home/tomcat/rtap_admin/WEB-I
NF/classes:/home/tomcat/WEB-INF/classes:/usr/software/jfreechart-0.9.6:/usr/software/jfreechart-0.9.6/lib/jcommon-0.7.2.jar:/usr/software/jfreechart-0.9.6/jfreechart-0.9.6.jar
Re: createpie error . classpath.
i m faceing the same problem. cewolf charts are rendering correctly in windows but when i coppied the whole folder in the linux the graph does not render, what is the reason. i have put all the libraries and classes in WEB-INF with dtd files and change the web.xml files accordingly. it displays an error as no class found. do i need to change the classpath or what plz guide me.
Re: createpie error . classpath.
I suspect this is the same problem as:
http://www.object-refinery.com/phorum-3 ... 739&t=7739
Regards,
Dave Gilbert
http://www.object-refinery.com/phorum-3 ... 739&t=7739
Regards,
Dave Gilbert