java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.open(Ljava/nio/file/Path;)Lorg/apache/lucene/store/FSDirectory;

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

    Errors when implementing search using API instead of command lines

    Google Groups | 7 months ago | Hadeel Maryoosh
    java.lang.NoSuchMethodError: org.apache.lucene.store.FSDirectory.open(Ljava/nio/file/Path;)Lorg/apache/lucene/store/FSDirectory;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.lucene.store.FSDirectory.open(Ljava/nio/file/Path;)Lorg/apache/lucene/store/FSDirectory;

      at pitt.search.semanticvectors.VectorStoreReaderLucene.<init>()
    2. pitt.search.semanticvectors
      VectorStoreRAM.readFromFile
      1. pitt.search.semanticvectors.VectorStoreReaderLucene.<init>(VectorStoreReaderLucene.java:90)
      2. pitt.search.semanticvectors.VectorStoreReader.openVectorStore(VectorStoreReader.java:60)
      3. pitt.search.semanticvectors.VectorStoreRAM.initFromFile(VectorStoreRAM.java:97)
      4. pitt.search.semanticvectors.VectorStoreRAM.readFromFile(VectorStoreRAM.java:91)
      4 frames
    3. com.tutorialspoint.lucene
      ExampleVectorSearcherClient.main
      1. com.tutorialspoint.lucene.ExampleVectorSearcherClient.main(ExampleVectorSearcherClient.java:35)
      1 frame