thx a

2007/3/28, Arun M.A. <[EMAIL PROTECTED]>:

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 <[EMAIL PROTECTED]> 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

Reply via email to