Jump to content
Changes to the Jaspersoft community edition download ×

Can I use JFreeChart 1.5.0 together with JasperSoft library?


Recommended Posts


My application currently uses JFreeChart v 1.0.12 and JasperReports v 6.5.1.
I did upgrade to the newest JFreeChart version 1.5.0 and got my charts working again after some minor changes.
However my (Jasper) reports containing graphs and pie charts no longer work.
I get the error: java.lang.ClassNotFoundException: org.jfree.ui.RectangleEdge
which is no surprise since that class is (in JFreeChart 1.5.0) moved into the package org.jfree.chart.ui

In the pom file of  JasperReports 6.5.1 (http://repo2.maven.org/maven2/net/sf/jasperreports/jasperreports/6.5.1/jasperreports-6.5.1.pom)
and even in that of the latest version 6.7.1 (http://repo2.maven.org/maven2/net/sf/jasperreports/jasperreports/6.7.1/jasperreports-6.7.1.pom)
I see a dependency of jfreechart v 1.0.19 (and jcommon 1.0.23)

Does that mean that the highest version of JFreeChart I can use together with JasperSoft is 1.0.19?

Or can I put both JFreeChart versions in my project?
And use JFreeChart 1.5.0 for my own graphs and tell JasperSoft lib somehow to use JFreeChart 1.0.19?

Any suggestions welcome.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...