Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Error when activating plugin

Tania Tudorache tudorache at
Thu Jan 3 15:49:54 PST 2008


I suppose what happened is that the plugin jar does not have the right 
folder structure, which must should follow the java package name. If you 
did not create a jar, and only copied the classes to the plugin folder, 
then the classes also have to be in the right folder. So, in your case, 
the FrameCounter.class has to be in the folder examples/tabwdget in the 
plugin folder.

There is also a misspelling of the package name, so, maybe the manifest 
contains the wrong entry for the plugin. Please check the manifest file.

The sections on plugin debugging tips and on creating a manifest and 
plugin jar are also helpful:


Adrianus Kresna wrote:
> Hi,
> I'm new at protege and I was trying to learn about plugin development. 
> So I downloaded the example plugins given, compile them and such, and 
> put them in the plugin directory. When I activated protege, the plugin 
> name appeared in the plugin list but when I checked the tab, there's 
> an error message as such:
> Exception in thread "AWT-EventQueu-0" java.lang.NoClassDefFoundError: 
> examples/tabwdget/FrameCounter$1
> at examples.tabwidget.FrameCounter.initialize(
> at 
> edu.stanford.smi.protege.widget.WidgetUtilities.createTabWidget(Unknown 
> Source)
> ....
> and it goes on...
> can someone help me to explain what went wrong?
> Thank you.
> Kres
> ------------------------------------------------------------------------
> Blog it to your Space with Live Writer! Windows Live Writer 
> <>
> ------------------------------------------------------------------------
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at
> Instructions for unsubscribing: 

More information about the protege-discussion mailing list