I am a new user want to use the JFreeChart. I want to use the demo and start from the demo. But I got the error as bellow:
Exception in thread "main" java.lang.NoClassDefFoundError: com/jrefinery/data/XYDataset
Could anyone help me?
Demo Error!!
RE: Demo Error!!
Hi Eric,
XYDataset is an interface that is now part of the JCommon Class Library. The runtime jar file is included with the JFreeChart download in the jars directory. You need to make sure you include this jar file on your classpath.
If you need the source code for JCommon (recommended) then you should download the library from:
http://www.jrefinery.com/jcommon
I'm in the process of updating the installation documentation to make this clearer.
Regards,
DG.
XYDataset is an interface that is now part of the JCommon Class Library. The runtime jar file is included with the JFreeChart download in the jars directory. You need to make sure you include this jar file on your classpath.
If you need the source code for JCommon (recommended) then you should download the library from:
http://www.jrefinery.com/jcommon
I'm in the process of updating the installation documentation to make this clearer.
Regards,
DG.