Hi Gerrit, have you tried it with Jena 2.6.3 (the version mentioned on the SPIN API web site)? You can verify a version mismatch by compiling the SPIN API source code against your local Jena version.
Thanks, Holger . On Apr 5, 2011, at 8:00 PM, Gerrit wrote: > Hi, > > I am using the spinrdf example > KennedysInferencingAndConstraintsExample.java to try and incorporate > SPIN rules in my code, but I get the following error when trying to > run it: > > java.lang.NoSuchMethodError: > com.hp.hpl.jena.rdf.model.Resource.inModel(Lcom/hp/hpl/jena/rdf/model/ > Model;)Lcom/hp/hpl/jena/rdf/model/Resource; > at > org.topbraid.spin.system.SPINModuleRegistry.registerFunctions(SPINModuleRegistry.java: > 236) > at > org.topbraid.spin.system.SPINModuleRegistry.registerAll(SPINModuleRegistry.java: > 188) > at > org.topbraid.spin.system.SPINModuleRegistry.init(SPINModuleRegistry.java: > 137) > > Anybody seen this error before? I am using Jena 2.6.2. > > Regards, > Gerrit Niezen > > -- > You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include TopBraid Composer, > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/topbraid-users?hl=en -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
