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

Google Groups | Hadeel Maryoosh | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Errors when implementing search using API instead of command lines

    Google Groups | 10 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