jgrzebyta / triple-loader

Framework and CL tools for hight throughput manipulation on RDF statements (triples and quads).
GNU Lesser General Public License v3.0
10 stars 0 forks source link

test-load-multidata error: ClassNotFoundException #42

Closed jgrzebyta closed 7 years ago

jgrzebyta commented 7 years ago

Run test test-load-multidata gives:

Caused by: java.lang.ClassNotFoundException: org.apache.lucene.codecs.lucene41.Lucene41PostingsFormat
 at java.net.URLClassLoader.findClass (URLClassLoader.java:381)
    java.lang.ClassLoader.loadClass (ClassLoader.java:424)
    java.lang.ClassLoader.loadClass (ClassLoader.java:357)
    org.elasticsearch.index.codec.postingsformat.Elasticsearch090PostingsFormat.<init> (Elasticsearch090PostingsFormat.java:50)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
    sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
    java.lang.reflect.Constructor.newInstance (Constructor.java:423)
    java.lang.Class.newInstance (Class.java:442)
    org.apache.lucene.util.NamedSPILoader.reload (NamedSPILoader.java:67)
    org.apache.lucene.util.NamedSPILoader.<init> (NamedSPILoader.java:47)
    org.apache.lucene.util.NamedSPILoader.<init> (NamedSPILoader.java:37)
    org.apache.lucene.codecs.PostingsFormat$Holder.<clinit> (PostingsFormat.java:49)
    org.apache.lucene.codecs.PostingsFormat.forName (PostingsFormat.java:112)
    org.apache.lucene.codecs.lucene50.Lucene50Codec.<init> (Lucene50Codec.java:154)
    org.apache.lucene.codecs.lucene50.Lucene50Codec.<init> (Lucene50Codec.java:74)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0 (NativeConstructorAccessorImpl.java:-2)
    sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:62)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance (DelegatingConstructorAccessorImpl.java:45)
    java.lang.reflect.Constructor.newInstance (Constructor.java:423)
    java.lang.Class.newInstance (Class.java:442)
    org.apache.lucene.util.NamedSPILoader.reload (NamedSPILoader.java:67)
    org.apache.lucene.util.NamedSPILoader.<init> (NamedSPILoader.java:47)
    org.apache.lucene.util.NamedSPILoader.<init> (NamedSPILoader.java:37)
    org.apache.lucene.codecs.Codec$Holder.<clinit> (Codec.java:47)
    org.apache.lucene.codecs.Codec.getDefault (Codec.java:140)
    org.apache.lucene.index.LiveIndexWriterConfig.<init> (LiveIndexWriterConfig.java:115)
    org.apache.lucene.index.IndexWriterConfig.<init> (IndexWriterConfig.java:163)
    org.eclipse.rdf4j.sail.lucene.LuceneIndex.getIndexWriterConfig (LuceneIndex.java:1124)
    org.eclipse.rdf4j.sail.lucene.LuceneIndex.postInit (LuceneIndex.java:249)
    org.eclipse.rdf4j.sail.lucene.LuceneIndex.initialize (LuceneIndex.java:190)
    org.eclipse.rdf4j.sail.lucene.util.SearchIndexUtils.createSearchIndex (SearchIndexUtils.java:38)
    org.eclipse.rdf4j.lucene.spin.LuceneSpinSail.initialize (LuceneSpinSail.java:128)
    org.eclipse.rdf4j.repository.sail.SailRepository.initializeInternal (SailRepository.java:151)
    org.eclipse.rdf4j.repository.base.AbstractRepository.initialize (AbstractRepository.java:34)
    rdf4j.loader$eval2107$fn__2109$fn__2111.invoke (loader.clj:101)
    rdf4j.loader$eval2107$fn__2109.doInvoke (loader.clj:101)
    clojure.lang.RestFn.invoke (RestFn.java:521)
    clojure.lang.MultiFn.invoke (MultiFn.java:260)
    rdf4j.loader$eval2101$fn__2103.doInvoke (loader.clj:89)
    clojure.lang.RestFn.invoke (RestFn.java:521)
    clojure.lang.MultiFn.invoke (MultiFn.java:260)
    rdf4j.loader$load_multidata$fn__2134.invoke (loader.clj:146)
    clojure.core$pmap$fn__6970$fn__6971.invoke (core.clj:6736)
    clojure.core$binding_conveyor_fn$fn__4676.invoke (core.clj:1938)
    clojure.lang.AFn.call (AFn.java:18)
    java.util.concurrent.FutureTask.run (FutureTask.java:266)
    java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1149)
    java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:624)
    java.lang.Thread.run (Thread.java:748)