|RE: !SPAM? RE: [eclipse-dev] java.lang.NoClassDefFoundError: org/jfree/chart/labels/XYItemLabelGenerator|
Ok you’re right,
I had a spam filter… and found the registration message. He other part is not a problem of eclipse, is a problem of the new jfreechart library. But sometimes eclipse forgot the librarys at the plugin.xml. Is there a reason why? But it coud depends on me, I switch realy often my used eclipse version (m08,m09,rc01,rc02) to see if my plugins running or not and why not.
So thanks and a nice day
Gert Wohlgemuth - Java Programmer
Max Planck Institut für Molekulare
Definitely the type of question for the newsgroups; perhaps someone else can help with your registration? (Are you using a spam filter?)
Sounds like you need to include the jfreechart jar in the list of runtime libs for your plugin. (Edit your plugin.xml and add the jfreechart jar on the runtime tab -- note that you shouldn't export anything from jfreechart, though, unless you're creating "the" jfreechart plugin ). These are the jars that are loaded by eclipse when your plugin is activated.
(This assumes there is no separate jfreechart plugin -- otherwise you would list it as a dependency and require it to be installed to run your plugin).
For the other q, you could add "-verbose" as a JVM argument when running the runtime WB, but that will list every class loaded by eclipse (and where they're loaded from). Don't know if there's a way to limit to just your plugin's classloader.
Hope this helps a bit... I usually just lurk here...
Back to the top