Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefF

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Nestor
Posts: 4
Joined: Fri Jul 10, 2015 5:31 pm
antibot: No, of course not.

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefF

Post by Nestor » Tue Jul 21, 2015 8:08 pm

Bonjour

Je rencontre le probleme suivant: Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/jfree/data/category/categoryDataset.
Pouvez-vous m'aider s'il vus plait.

Nestor

Nestor
Posts: 4
Joined: Fri Jul 10, 2015 5:31 pm
antibot: No, of course not.

Re: Exception in thread "AWT-EventQueue-0" java.lang.NoClass

Post by Nestor » Wed Jul 22, 2015 10:30 am

Hello,

Sorry for the french spoken while exposing my question. In fact I'm using JFreeChat and having the following error : Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/jfree/data/category/categoryDataset. I made all the necessary importations such as :
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartPanel;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.ui.ApplicationFrame;
import org.jfree.ui.RefineryUtilities;

but the problem still come out. Can anyone help me please?

Many thanks in advance.

Nestor

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: Exception in thread "AWT-EventQueue-0" java.lang.NoClass

Post by david.gilbert » Sat Jul 25, 2015 10:01 am

That's an odd error message. Double check that you don't have two versions of JFreeChart on your class path, because that can sometimes be the root cause.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

Locked