Java API reasoning error

I am trying to make a reasoning connection to my http server:

String server = "http://192.168.1.45:5820";
ReasoningConnection aReasoningConn = ConnectionConfiguration.to(source).server(server).credentials("admin", "admin").reasoning(true).connect().as( ReasoningConnection.class);

and got this exception:

com.complexible.stardog.StardogException: Could not find an appropriate view implementation of this connection for 'com.complexible.stardog.api.reasoning.ReasoningConnection'.

I already included both client libraries (htttp and embedded) to my pom dependencies.

<dependency>
    <groupId>com.complexible.stardog</groupId>
    <artifactId>client-http</artifactId>
    <version>${stardog.version}</version>
    <type>pom</type>
</dependency>

<dependency>
    <groupId>com.complexible.stardog</groupId>
    <artifactId>client-embedded</artifactId>
    <version>${stardog.version}</version>
    <type>pom</type>
</dependency>

Do you have any ideas to fix this?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.