dtrobert Posted July 30, 2009 Share Posted July 30, 2009 Hi, I am running Jasperreports 2.0.5 and was running Jfreechart 1.0.0. I just upgraded my JFreechart to 1.0.13 and my time-series reports are now giving me this error net.sf.jasperreports.engine.JRRuntimeException: java.lang.NoSuchMethodError: org.jfree.data.time.TimeSeries.<init>(Ljava/lang/String;Ljava/lang/Class;)V Attaching one of the templates Any ideas? Link to comment Share on other sites More sharing options...
dtrobert Posted August 3, 2009 Author Share Posted August 3, 2009 The source of problem seems to be here http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=26164&p=73528&hilit=java.lang.NoSuchMethodError:+org.jfree.data.time.TimeSeries.%3Cinit%3E#p73528 It looks like JFreechart changed their API's slightly which is not compatible with Jasper anymore. Has anyone managed to get the latest Jasper to work with the latest JFreeChart? Link to comment Share on other sites More sharing options...
Teodor Danciu Posted August 14, 2009 Share Posted August 14, 2009 Hi, If you plan to use JFreeChart 1.0.13, then you have to build JR 2.0.5 again, from source, using this version of JFreeChart.Otherwise, you have to stick to the version of JFreeChart that JR 2.0.5 comes with. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now