java.lang.NoSuchMethodError: org.apache.lucene.store.Directory.openInput(Ljava/lang/String;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/store/IndexInput;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Wouter, 1 year ago
org.apache.lucene.store.Directory.openInput(Ljava/lang/String;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/store/IndexInput;
java.lang.NoSuchMethodError: org.apache.lucene.store.Directory.openInput(Ljava/lang/String;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/store/IndexInput;
at pitt.search.semanticvectors.VectorStoreReaderLucene$1.initialValue(VectorStoreReaderLucene.java:95)
at pitt.search.semanticvectors.VectorStoreReaderLucene$1.initialValue(VectorStoreReaderLucene.java:91)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:160)
at java.lang.ThreadLocal.get(ThreadLocal.java:150)
at pitt.search.semanticvectors.VectorStoreReaderLucene.readHeadersFromIndexInput(VectorStoreReaderLucene.java:125)
at pitt.search.semanticvectors.VectorStoreReaderLucene.(VectorStoreReaderLucene.java:101)
at pitt.search.semanticvectors.VectorStoreReader.openVectorStore(VectorStoreReader.java:60)
at pitt.search.semanticvectors.Search.runSearch(Search.java:206)
at undefined.SemanticVectorAnalyzer.main(SemanticVectorAnalyzer.java:13)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.