Search Mailing List Archives
[protege-discussion] Running the Protege Applet - NoClassDefFoundError: Could not initialize class edu.stanford.smi.protege.Application
Olivier Mocquais RD-BIZZ
olivier.mocquais at orange-ftgroup.com
Tue Mar 27 09:19:08 PDT 2007
Hi,
I want to use the Protégé applet in a browser and open a Protege file
(with the pprj extension) : the KB is stored in a database.
<applet
code="edu.stanford.smi.protege.Applet.class"
codebase="http://localhost:8080/MdaManager/Protege_3.2.1/"
archive="looks.jar, unicode_panel.jar, protege.jar, driver.jar"
width="130"
height="60">
<param name="project_name"
value="upload/monProjet.emx.nt_kb.pprj" />
Your browser doesn't support the <code>applet</code> tag!
</applet>
I have an Exception when I click on the Protege picture which opens the
Protege frame.
Exception in thread "AWT-EventQueue-8" java.lang.NoClassDefFoundError:
Could not initialize class edu.stanford.smi.protege.Application
at edu.stanford.smi.protege.Applet$1.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
All the jars needed (looks.jar, unicode_panel.jar, protege.jar,
driver.jar) are available in the folder
http://localhost:8080/MdaManager/Protege_3.2.1/ and the pprj file is
store in the upload folder
(http://localhost:8080/MdaManager/Protege_3.2.1/upload/monProjet.emx.nt_kb.pprj)
Any ideas to solve my problem (maybe a jar is missing in the archive
atribute) ?
Regards.
Olivier
More information about the protege-discussion
mailing list