Error while running lucene
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   San_Pan
Posted On:   Wednesday, April 7, 2004 11:45 PM

Hi guys, I tried to execute the following command: java org.apache.lucene.demo.IndexHTMLs -create -index {index-dir} .. but i got an error message as follow: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/demo/IndexHTMLs Ive created IndexHTMLs.java and i save it in tomcat root directory/webapps/bla-blah/web-inf/classes/org/apache/lucene/demo I am new against lucene and i just installed it. Do you guys have any idea bout that? Thanks very much. Regards, San    More>>

Hi guys,



I tried to execute the following command:


java org.apache.lucene.demo.IndexHTMLs -create -index {index-dir} ..





but i got an error message as follow:


Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/lucene/demo/IndexHTMLs



Ive created IndexHTMLs.java and i save it in tomcat root directory/webapps/bla-blah/web-inf/classes/org/apache/lucene/demo



I am new against lucene and i just installed it. Do you guys have any idea bout that? Thanks very much.




Regards,



San

   <<Less

Re: Error while running lucene

Posted By:   Otis_Gospodnetic  
Posted On:   Friday, April 9, 2004 02:23 AM

You have to add various Lucene Jars to your CLASSPATH.
Please note that what you are running is only a demo of Lucene. Lucene is not an application, but rather an IR library.
About | Sitemap | Contact