Hi
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: 

C:/jakarta-ant-1.4.1
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.
Regards
Deep



Reply via email to