[semweb4j] Problems registering Sesame in RDF2Go

8 views
Skip to first unread message

.

unread,
May 20, 2010, 9:28:35 AM5/20/10
to RDF2Go and RDFReactor (part of semweb4j)
Hi,

I try to use the Sesame adapter like:

RDF2Go.register("org.openrdf.rdf2go.RepositoryModel");

But this causes an exception:

org.ontoware.rdf2go.exception.ModelRuntimeException:
java.lang.NoSuchMethodException:
org.openrdf.rdf2go.RepositoryModel.<init>()
at org.ontoware.rdf2go.RDF2Go.register(RDF2Go.java:151)
at matsc.Application.main(Application.java:21)
Caused by: java.lang.NoSuchMethodException:
org.openrdf.rdf2go.RepositoryModel.<init>()
at java.lang.Class.getConstructor0(Class.java:2706)
at java.lang.Class.getConstructor(Class.java:1657)
at org.ontoware.rdf2go.RDF2Go.register(RDF2Go.java:134)
... 1 more

Using Jena works without problems:
RDF2Go.register("org.ontoware.rdf2go.impl.jena26.ModelFactoryImpl");

What am I doing wrong?

Thanks,
Manfred

--
You received this message because you are subscribed to the Google Groups "RDF2Go and RDFReactor (part of semweb4j)" group.
To post to this group, send email to semw...@googlegroups.com.
To unsubscribe from this group, send email to semweb4j+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/semweb4j?hl=en.

Antoni Mylka

unread,
May 21, 2010, 5:55:45 AM5/21/10
to semw...@googlegroups.com
W dniu 2010-05-20 15:28, . pisze:
> Hi,
>
> I try to use the Sesame adapter like:
>
> RDF2Go.register("org.openrdf.rdf2go.RepositoryModel");

Try RDF2Go.register("org.openrdf.rdf2go.RepositoryModelFactory");

Antoni
Reply all
Reply to author
Forward
0 new messages