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] Why my applet can't run in explore

刘康 liukzg at gmail.com
Fri Oct 15 07:47:57 PDT 2010


I have write a OWL applet with jena and pellet, it works in the eclipse, but
can't do in explore.The error's imformations as bellow:

java.lang.RuntimeException: java.lang.NoClassDefFoundError:
com/hp/hpl/jena/rdf/model/Resource

       at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)

       at
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown
Source)

       at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.NoClassDefFoundError:
com/hp/hpl/jena/rdf/model/Resource

       at FunctionApplet.<init>(FunctionApplet.java:14)

       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)

       at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)

       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)

       at java.lang.reflect.Constructor.newInstance(Unknown Source)

       at java.lang.Class.newInstance0(Unknown Source)

       at java.lang.Class.newInstance(Unknown Source)

       at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)

       at java.awt.event.InvocationEvent.dispatch(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)

Caused by: java.lang.ClassNotFoundException:
com.hp.hpl.jena.rdf.model.Resource

       at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

       at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)

       at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

       at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)

       at java.lang.ClassLoader.loadClass(Unknown Source)

       ... 16 more

Caused by: java.io.FileNotFoundException:
F:\LK\程序\java\FunctionOWL\bin\com\hp\hpl\jena\rdf\model\Resource.class
(系统找不到指定的路径。)

       at java.io.FileInputStream.open(Native Method)

       at java.io.FileInputStream.<init>(Unknown Source)

       at java.io.FileInputStream.<init>(Unknown Source)

       at sun.net.www.protocol.file.FileURLConnection.connect(Unknown
Source)

       at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown
Source)

       at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)

       at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)

       at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)

       at java.security.AccessController.doPrivileged(Native Method)
       ... 21 more

Could you tell me why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20101015/498db09b/attachment.html>


More information about the protege-discussion mailing list