lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arun M.A." <arun.m...@gmail.com>
Subject Re: failure while indexing files
Date Wed, 28 Mar 2007 10:37:50 GMT
I used to have this classpath issue when i set classpath for Java. Try using
DOS based directory path instead of the windows name.

eg. instead of Documents and Settings use DOCUME~1

use dir/x to know your DOS name for the directory


On 3/28/07, mohamed hadj taieb <mohamedhajjj@gmail.com> wrote:
>
> Hi
> i have downloaded the lucene-2.1.0.zip file
> and i tried to integrate into my application web
> i have added the 2 jar files to the classpath into the Environment
> variables
> like this
> classpath:
> .;C:\Program Files\Apache Software Foundation\Tomcat
> 5.5\webapps\luceneweb\WEB-INF\lib\lucene-demos-2.1.0.jar;C:\Program
> Files\Apache Software Foundation\Tomcat
> 5.5\webapps\luceneweb\WEB-INF\lib\lucene-core-2.1.0.jar
>
> After that i tried to index
> C:\Documents and Settings\mohamed.PIVASOFT-1BDE2C>java
> org.apache.lucene.demo.IndexFiles C:\Program Files\Apache Software
> Foundation\Tomcat 5.5\webapps\luceneweb
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/lucene/demo/IndexFiles
>
> if u have an idea about the problem thank for help
>



-- 
Arun
www.arunma.com

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