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] I saw this message "java.lang.NoClassDefFoundError: edu/stanford/smi/protegex/owl/jena/JenaOWLModel"

이형규 bird7060 at naver.com
Fri Feb 15 07:00:48 PST 2008


Hi, everyone
 
I am going to Graduate School of Soongsil University in Seoul, Korea.
 
I am developing one plug-in of Protege at Eclipse Enviroment.
 
when I run at Eclipse including following code, All function of My plug-in is success.
 
********* I add this code to plug-in source to excute stand-alone application ********
public static void main(String[] args) {
 edu.stanford.smi.protege.Application.main(args);
}
******************************************************************************
 
But After I build source, When I put my .class files and manifest files at proper path,
I saw following message when I excute particular my plug-in funtionality after excuting Protege 3.3.1
 
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: edu/stanford/smi/protegex/owl/jena/JenaOWLModel
 at examples.tabwidget.TestPlugin.getGraphData(TestPlugin.java:358)
 at examples.tabwidget.TestPlugin$LoadOWLFile.actionPerformed(TestPlugin.java:76)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
 at java.awt.Component.processMouseEvent(Component.java:6041)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
 at java.awt.Component.processEvent(Component.java:5806)
 at java.awt.Container.processEvent(Container.java:2058)
 at java.awt.Component.dispatchEventImpl(Component.java:4413)
 at java.awt.Container.dispatchEventImpl(Container.java:2116)
 at java.awt.Component.dispatchEvent(Component.java:4243)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
 at java.awt.Container.dispatchEventImpl(Container.java:2102)
 at java.awt.Window.dispatchEventImpl(Window.java:2440)
 at java.awt.Component.dispatchEvent(Component.java:4243)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Caused by: java.lang.ClassNotFoundException: edu.stanford.smi.protegex.owl.jena.JenaOWLModel
 at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
 ... 27 more
 
I confirm many case, but I don't know why Particular Functionality is not excuting.
 
please answer anyone... please
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20080216/e81275d3/attachment.html>


More information about the protege-discussion mailing list