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

Timothy Redmond tredmond at stanford.edu
Fri Oct 15 08:08:43 PDT 2010


On 10/15/2010 07:47 AM, 刘康 wrote:
> 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:
>
You have some type of configuration problem in your applet. The jena jar
is not on the classpath. Debugging applets can be difficult actually but
in this case you are doing well because you see the exception.

-Timothy


> 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?
>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20101015/93f619fe/attachment.html>


More information about the protege-discussion mailing list