Good morning!
I'm trying to use the the icv http client with a standalone database but I seem to be missing a dependency somewhere because the sample code throws a ClassNotFoundException
Before running mavenInstall.sh I updated openrdf-sesame-2.7.12.jar with the pom and properties from the 2.7.10 jar (after updating the version number in the pom).
I'm using the groupId:artifactId:version from the Stardog documentation (com.complexible.stardog.icv.http:client:2.2).
The specific error is
Exception in thread "main" java.lang.NoClassDefFoundError: com/complexible/barc/ProtocolConstants
at com.complexible.stardog.protocols.http.client.BaseHttpClient.<clinit>(BaseHttpClient.java:115)
at com.complexible.stardog.protocols.http.client.HttpDriver.connectAdmin(HttpDriver.java:105)
at com.complexible.stardog.api.admin.AdminConnectionConfiguration.connect(AdminConnectionConfiguration.java:39)
at HttpErrorExample.main(HttpErrorExample.java:46)
Caused by: java.lang.ClassNotFoundException: com.complexible.barc.ProtocolConstants
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 4 more
My source code and pom are attached.
v/r,
Duane