lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Ph DEGLETAGNE" <jph.degleta...@cosi-consulting.com>
Subject TR : -- Lucene, error when indexing demo !
Date Tue, 31 Aug 2004 05:33:06 GMT
Hello everybody,
 
I want test lucene,
 
My configuration : Windows XP...
 
First, I have extracted the latest Lucene distribution in
D:\Program Files\Apache Software Foundation to get 
D:\Program Files\Apache Software Foundation\lucene-1.4-final
D:\Program Files\Apache Software Foundation\lucene-1.4-final\docs
D:\Program Files\Apache Software Foundation\lucene-1.4-final\src
so demo is in
D:\Program Files\Apache Software Foundation\lucene-1.4-final\src\demo
 
and I set my classpath like this
classpath="D:\Program Files\Apache Software
Foundation\lucene-1.4-final;D:\Program Files\Apache Software
Foundation\lucene-demos-1.4-final"
 
Second, for indexing files, I type :
java org.apache.lucene.demo.IndexFiles "D:/Program Files/Apache Software
Foundation/lucene-1.4-final/src"
or
java org.apache.lucene.demo.IndexFiles "D:\Program Files\Apache Software
Foundation\lucene-1.4-final\src"
and I got :
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/lucene/demo/IndexFiles
 
Where is my error ?
 
Thank's a lot !
 
JPhD
 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message