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

Google Groups | Wouter | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Programmatic Search Lucene error

    Google Groups | 3 years ago | Wouter
    java.lang.NoSuchMethodError: org.apache.lucene.store.Directory.openInput(Ljava/lang/String;Lorg/apache/lucene/store/IOContext;)Lorg/apache/lucene/store/IndexInput;

    Root Cause Analysis

    1. 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()
    2. pitt.search.semanticvectors
      VectorStoreReaderLucene$1.initialValue
      1. pitt.search.semanticvectors.VectorStoreReaderLucene$1.initialValue(VectorStoreReaderLucene.java:95)
      2. pitt.search.semanticvectors.VectorStoreReaderLucene$1.initialValue(VectorStoreReaderLucene.java:91)
      2 frames
    3. Java RT
      ThreadLocal.get
      1. java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:160)
      2. java.lang.ThreadLocal.get(ThreadLocal.java:150)
      2 frames
    4. pitt.search.semanticvectors
      Search.runSearch
      1. pitt.search.semanticvectors.VectorStoreReaderLucene.readHeadersFromIndexInput(VectorStoreReaderLucene.java:125)
      2. pitt.search.semanticvectors.VectorStoreReaderLucene.<init>(VectorStoreReaderLucene.java:101)
      3. pitt.search.semanticvectors.VectorStoreReader.openVectorStore(VectorStoreReader.java:60)
      4. pitt.search.semanticvectors.Search.runSearch(Search.java:206)
      4 frames
    5. Unknown
      SemanticVectorAnalyzer.main
      1. SemanticVectorAnalyzer.main(SemanticVectorAnalyzer.java:13)
      1 frame