xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deep Narain Singh <d...@jwcc.net>
Subject Build the Addressbook.war
Date Thu, 13 Jun 2002 13:12:53 GMT
When I try to run and build the example "AddressBook.war" file I get the following error:

I am using Tomcat 4.0 and Ant 1.4.1.

As mentioned into Readme.txt file I went to %Xindice_Home%\bin directory and type the "ant"

I get the following error: 

java -classpath c:\jdk1.3.1_01\lib\tools.jar;%CPATH%;;C:/jakarta-ant-1.4.1\config;C:/jakarta-ant-1.4.1\java\lib............................
b\xerces_1.4.3.jar -Dant.home=C:/jakarta-ant-1.4.1  org.apache.tools.ant.Main
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main

It means that this is not able to find the ant.jar file where Main.class is present. Though
I have set up the classpath!!

Let me know what could be the reason. 
I shall be highly obliged for your kind response.

View raw message