Hi,
I'm using IReports to generate reports to my netbeans project.
The reports which dosen't contain a chart, runs in the run time(Netbeans) and execute well.
but when i add a bar chart to the report it gives the following exception even though the bar chart report successfully compile and generate in JasperSoft IReports 4.5.0

This is the error message I'm getting,

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Lorg/jfree/chart/plot/PlotOrientation;

These are the libraries i have added to run jasper reports (iReports),

  • commons-beanutils-1.8.2.jar
  • commons-collections-3.2.1.jar
  • commons-digester-1.7.jar
  • commons-javaflow-20060411.jar
  • commons-logging-1.1.jar
  • groovy-all-1.7.5.jar
  • iText-5.0.6.jar
  • jasperreports-4.5.0.jar
  • jcommon-0.6.4.jar
  • jcommon-1.0.16.jar
  • jfreechart-1.0.9.jar

do you have Lorg/jfree/chart/plot/PlotOrientation;
somewhere in your code? lose the capital L in front of that path.
jfreechart-1.0.9.jar does contain that class.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.