NoSuchMethod getInstance in License error

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jeffh
Posts: 13
Joined: Thu Oct 09, 2003 9:47 am

NoSuchMethod getInstance in License error

Post by Jeffh » Fri Oct 17, 2003 12:00 pm

I have changed from 0.9.8 to 0.9.13 but whenever i try to create a chart it gives me the following error:

java.lang.NoSuchMethodError: org.jfree.ui.about.Licenses.getInstance()L/org/jfree/ui/about/Licenses;


I have jcommon0.8.8 installed and in my classpath, and it contains this method. I'd appreciate any help you could offer. thanks.


Jeff

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

Post by david.gilbert » Fri Oct 17, 2003 4:42 pm

Check that you don't have another version of the JCommon class library on your classpath, that method is new to the latest version.
David Gilbert
JFreeChart Project Leader

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

Jeffh
Posts: 13
Joined: Thu Oct 09, 2003 9:47 am

Post by Jeffh » Mon Oct 20, 2003 9:28 am

Edit: Nevermind, I figured it out.

Thanks,

Jeff

Locked