You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Chen Longtai <lt...@essex.ac.uk> on 2004/02/22 23:20:56 UTC
Why isn't commandline Xindice not working in my machine?
Hi,
1) I have download Tomcat 4.06 and got it running.
2) I have downloaded the file: xml-xinidice-1.1b3-war, rename it
to xindice.war.
3) I have also downloaded the the source file for Xindice 1.1b3
at:
http://ftp.plig.net/pub/apache/dist/xml/xindice/xml-xindice-1.1b3-src.zi
p
4) Then I proceed to unzip and install the files under
c:\tomcat\xindice.
5) I copy the xindice.war to the folder c:\tomcat\webapps
6) Then restart the tomcat server and got the Xindice Servlet
running.
7) After that I proceed to setup the environment variables for
CLASSPATH as:
.;C:\ProgramFiles\j2sdk_nb\j2sdk1.4.2\lib\tools.jar;
c:\tomcat\xindice\java\lib\xindice.jar;c:\tomcat\xindice\java\lib\xmldb-
common.jar;
c:\tomcat\xindice\java\lib\xml-apis.jar;c:\tomcat\xindice\java\lib\xmldb
-xupdate.jar;
c:\tomcat\xindice\java\lib\xerces.jar;
c:\tomcat\xindice\java\lib\xalan.jar;
c:\tomcat\xindice\java\lib\commons-logging.jar;
c:\tomcat\xindice\java\lib\xmldb-api-sdk.jar;
c:\tomcat\xindice\java\lib\xmldb-api.jar;
8) Then I also setup the environment variables for XINDICE_HOME as:
C:\tomcat\xindice
The following variables are setup earlier before step 1.
For your information: the setup for environment variable JAVA_HOME as:
C:\Program Files\j2sdk_nb\j2sdk1.4.2
For your information: the setup for environment variable CATALINA_HOME
as: C:\tomcat
9) Then I logoff and restart my windows.
10) When the windows boot up, I go to the command prompt and type:
xindice lc -c /db
and obtain the following error:
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\x
mldb-com
mon/jar;c:\xindice\java\lib\xml-apis/jar;c:\xindice\java\lib\xmldb-xupda
te/jar;c
:\xindice\java\lib\xerces/jar;c:\xindice\java\lib\xalan/jar;c:\xindice\j
ava\lib\
commons-logging/jar;c:\xindice\java\lib\xmldb-api-sdk/jar;c:\xindice\jav
a\lib\xm
ldb-api/jar;\config
Please advice.