On 05/07/12 15:28, Fairouz FakhFakh wrote:
Hello, I use the class "WSDL2OWLS.java". When I try to execute it,
it generates me this error:Exception in thread "AWT-EventQueue-0"
java.lang.NoSuchMethodError:
com.hp.hpl.jena.reasoner.ReasonerRegistry.getDIGReasoner()Lcom/hp/hpl/jena/reasoner/dig/DIGReasoner;
at impl.jena.JenaOWLFactory.<init>(JenaOWLFactory.java:48) 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
org.mindswap.owl.OWLFactory.createFactory(OWLFactory.java:79) at
org.mindswap.owl.OWLFactory.<clinit>(OWLFactory.java:73) at
org.mindswap.owl.EntityFactory.<clinit>(EntityFactory.java:39) at
org.mindswap.owl.vocabulary.OWL.<clinit>(OWL.java:44)............
Please, can someone help me ? I am really blocked and I am disable to
continue my work.Thank you in advance.
The DIG reasoner interface was deprecated many versions of Jena ago, and
actually removed several versions ago. My suggestion is that you
contact the maintainers of wsdl2owls, and encourage them to use either
the built-in reasoners, or the Pellet interface, with an up-to-date
version of Jena.
Alternatively, don't base your research on WSDL. It's no longer a widely
used technology anymore, as everyone moves to RESTful API's and JSON.
I'm not even sure that OWLS is being actively worked on, either.
Ian