there's a space char in your classpath and missing quotes around it
Files\j2sdk_nb\j2sdk1/4/2  is the end of C:\Program Files\j2sdk_nb\j2sdk1.4.2
"C:\Program Files\j2sdk_nb\j2sdk1.4.2" is one argument but C:\Program Files\j2sdk_nb\j2sdk1.4.2 are 2 under Windows
so Files\j2sdk_nb\j2sdk1.4.2 is taken as a class name and dots are replaced by slashes to find the class file. 
 
what version of Xindice are you installing ? I think I remember 1.0 had wrong .bat scripts (especialy about dirs containing spaces)
you can try to put your JDK in a space free dir (of course it's not the best solution)
 
Julien.
 
----- Original Message -----
From: Neil Cook
Sent: Monday, February 23, 2004 7:39 PM
Subject: RE: Why isn't commandline Xindice not working in my machine?

Chenn,
 
If you look at the first line of your error:
 
Exception in thread "main" java.lang.NoClassDefFoundError: Files\j2sdk_nb\j2sdk1/4/2
 
It ends: '\j2sdk1/4/2'. I expect that it should be '\j2sdk1.4.2'. When you originally described your classpath, this part looked OK but it seems to have been changed at some point. So, make sure that the path to tools.jar, in your classpath, matches where it actually is.
 
/Neil
-----Original Message-----
From: Chen Longtai [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 22, 2004 6:49 PM
To: xindice-users@xml.apache.org; [EMAIL PROTECTED]
Subject: RE: Why isn't commandline Xindice not working in my machine?

Hi,

 

When I execute the command line as follows:

 

C:\tomcat\bin>xindice lc -c xmldb:xindice://localhost:8080/db

Exception in thread "main" java.lang.NoClassDefFoundError: Files\j2sdk_nb\j2sdk1/4/2\lib\tools/jar;c:\xindice\java\lib\xindice/jar;c:\xindice\java\lib\xmldb-common/jar;

c:\xindice\java\lib\xmlapis/jar;c:\xindice\java\lib\xmldb-xupdate/jar;c:\xindice\java\lib\xerces/jar;c:\xindice\java\lib\xalan/jar;c:\xindice\java\lib\commons-logging/jar;c:\xindice\java\lib\xmldb-api-sdk/jar;c:\xindice\java\lib\xm

ldb-api/jar;\config

 

 

The problem seems to be the claspath problem.

 

Please advice.

 

 

 

 

-----Original Message-----
From: Jim Fuller [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 22, 2004 11:29 PM
To: xindice-users@xml.apache.org
Subject: RE: Why isn't commandline Xindice not working in my machine?

 

Try specifying the full collection path

 

xindice lc -c xmldb:xindice://localhost:8080/db

 

http://wiki.apache.org/xindice/XindiceFAQ/XindicePort

 

gl, Jim Fuller

 

> -----Original Message-----

> From: Chen Longtai [mailto:[EMAIL PROTECTED]

> Sent: 22 February 2004 22:36

> To: xindice-users@xml.apache.org

> Subject: RE: Why isn't commandline Xindice not working in my machine?

>

>

> I thought I have already attached the word document....... it

> details the problem that I am facing.....

>

> Please help.

>

> Thanks.

>

> -----Original Message-----

> From: Andy Armstrong [mailto:[EMAIL PROTECTED]

> Sent: Sunday, February 22, 2004 10:31 PM

> To: xindice-users@xml.apache.org

> Subject: Re: Why isn't commandline Xindice not working in my machine?

>

> Chen Longtai wrote:

> > Hi,

> > 

> > I got tons of problems with installing Xindice in Windows XP, can

> anyone

> > look at the document file and give me some advice.

> > Thanks.

>

> It might help if you tell us what the problems are.

>

> --

> Andy Armstrong, Tagish

>

>

 

Reply via email to