Yes, the journal final contains a reference to the Vocabulary class that
was specified when it was created. If the class is not in the classpath, it
will cause the error you experience. Your approach is one solution; the
other is to include the vocabulary version it is expecting in the classpath
manually.
Hello, I am using the blazegraph-gremlin library found here https://search.maven.org/#search%7Cga%7C1%7Cblazegraph-gremlin and I am attempting to follow along with the Blazegraph/Tinkerpop3 instructions https://github.com/blazegraph/tinkerpop3. However when I run the code "final BigdataSailRepository repo = BasicRepositoryProvider.open(journal);" as seen in the docs, I receive the error:
ERROR 2017-03-08 12:17:20,766 727 com.bigdata.Banner [main] Uncaught exception in thread
java.lang.RuntimeException: off=0, len=412
Later on...
Caused by: java.lang.ClassNotFoundException: com.bigdata.rdf.vocab.core.BigdataCoreVocabulary_v20160317
It seems to me that there is a class missing from the library that I have downloaded. Is this the problem, or am I missing something obvious?
SOLVED: I removed the previous version of my .jnl file and allowed my program to create a new one. Now this problem does not occur anymore.
Yes, the journal final contains a reference to the Vocabulary class that
was specified when it was created. If the class is not in the classpath, it
will cause the error you experience. Your approach is one solution; the
other is to include the vocabulary version it is expecting in the classpath
manually.
On Wed, Mar 8, 2017 at 9:54 AM, Hay_Free greenguy33@users.sf.net wrote:
Hi Brad, thanks for your response. I also just happened to send you an e-mail regarding Gremlin traversals :) Nice coincedence!