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-dev] Help me please - Query Engine in Protege API 3.5

Naruepon Panawong jnaruepon.p at gmail.com
Tue Feb 25 21:04:59 PST 2014


Thank you. I fix it already.


2014-02-26 10:42 GMT+07:00 Martin O'Connor <martin at zippyrate.com>:

>
> It looks like you are not including the Drools JARS. In general, a
> Protege-OWL application will need a Java class path that includes *all* the
> JARs in the Protege-OWL plugins directory, e.g..
> /Applications/Protege_3.5/plugins/edu.stanford.smi.protegex.owl/).
>
> Martin
>
> On Feb 25, 2014, at 6:46 AM, Naruepon Panawong <jnaruepon.p at gmail.com>
> wrote:
>
> > Dear Developer support
> >
> > I try to run query engine and found error. Help me please.
> >
> > Exception in thread "main"
> org.protege.owl.portability.query.ResultException: error creating SQWRL
> query engine: Error creating rule engine Drools. Exception:
> java.lang.NoClassDefFoundError. Message:
> org/drools/runtime/rule/AgendaFilter
> >       at org.protege.swrltab.p3.P3SQWRLQueryEngineFactory.create(Unknown
> Source)
> >       at Ex6.main(Ex6.java:83)
> > Caused by: org.protege.swrlapi.exceptions.SWRLRuleEngineException: Error
> creating rule engine Drools. Exception: java.lang.NoClassDefFoundError.
> Message: org/drools/runtime/rule/AgendaFilter
> >       at org.protege.swrltab.p3.P3SWRLRuleEngineFactory.create(Unknown
> Source)
> >       at org.protege.swrltab.p3.P3SWRLRuleEngineFactory.create(Unknown
> Source)
> >       ... 2 more
> > Caused by: java.lang.NoClassDefFoundError:
> org/drools/runtime/rule/AgendaFilter
> >       at
> org.protege.swrlapi.drools.DroolsSWRLRuleEngineCreator.create(Unknown
> Source)
> >       ... 4 more
> > Caused by: java.lang.ClassNotFoundException:
> org.drools.runtime.rule.AgendaFilter
> >       at java.net.URLClassLoader$1.run(Unknown Source)
> >       at java.net.URLClassLoader$1.run(Unknown Source)
> >       at java.security.AccessController.doPrivileged(Native Method)
> >       at java.net.URLClassLoader.findClass(Unknown Source)
> >       at java.lang.ClassLoader.loadClass(Unknown Source)
> >       at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
> >       at java.lang.ClassLoader.loadClass(Unknown Source)
> >       ... 5 more
> >
> > Thank you
> > Naruepon.p
> > _______________________________________________
> > protege-dev mailing list
> > protege-dev at lists.stanford.edu
> > https://mailman.stanford.edu/mailman/listinfo/protege-dev
>
> _______________________________________________
> protege-dev mailing list
> protege-dev at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-dev/attachments/20140226/ca99354a/attachment.html>


More information about the protege-dev mailing list