Getting NoClassDefFoundError on using JapaneseTokenizer of Apache Lucene 7.1.0

127 Views Asked by At

I am trying to use the JapaneseTokenizer from Apache Lucene 7.1.0. Its giving me java.lang.NoClassDefFoundError: org/apache/lucene/analysis/ja/JapaneseTokenizer and java.lang.ClassNotFoundException: org.apache.lucene.analysis.ja.JapaneseTokenizer. Although, all other analyzers and tokenizers from Lucene(like StandardAnalyzer, etc.) work perfectly fine. How to resolve it?

1

There are 1 best solutions below

0
Aditya On

Can you check if there are any conflicting libs in classpath?