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