I keep getting this error: java.lang.NoClassDefFoundError: org/apache/lucene/index/memory/MemoryIndex
Is there any way i can go about making sure java/tomcat can find this class?
This class does not exist in the core lucene jar you are using but in a contrib jar called lucene-memory-2.4.1.jar. Make sure you include this jar in your application as well.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.