On Fri, Jul 22, 2016 at 10:38 AM, <
rcta...@gmail.com> wrote:
> Hello!
>
> I am trying to take a Connection (in Java) and turn it into a
> ReasoningConnection to check isConsistent. The Connection works fine on its
> own, and then I use:
> ReasoningConnection reasoning =
conn.as(ReasoningConnection.class);
>
> And it returns the following:
> General Exception : Could not find an appropriate view implementation of
> this connection for
> 'com.complexible.stardog.api.reasoning.ReasoningConnection'
This indicates you're missing jar files from your classpath. You have
to include a protocol implementation, either http or snarl. If you're
not using something like maven or gradle to resolve your dependencies,
I strongly suggest you begin doing so, you'll avoid issues like this
in the future.
Cheers,
Mike
>
> I saw there was a topic on this some time ago, but I couldn't really solve
> my problem based on their solution. I have the jar in my library and I am
> able to import com.complexible.stardog.api.reasoning.ReasoningConnection
> with no warnings... so I'm not quite sure where this is coming from. Maybe
> I'm doing something silly.
>
> Thanks!
>
> --
> -- --
> You received this message because you are subscribed to the C&P "Stardog"
> group.
> To post to this group, send email to
sta...@clarkparsia.com
> To unsubscribe from this group, send email to
>
stardog+u...@clarkparsia.com
> For more options, visit this group at
>
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en