Try setting your classpath to nothing
set classpath=
Unless you have certain necessary classpath entries.
I had this problem when quicktime created a classpath entry to a file
that did not exist. Make sure that if the classpath is set in the system
control panel all entries exist.

-Philip

-----Original Message-----
From: Rajat [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 24, 2003 4:33 AM
To: [EMAIL PROTECTED]
Subject: problem using ant with win2000 and Jdk 1.4

Hi,
        I have downloaded and installed ant and set the required
        environment variables like ANT_HOME etc. But When I am 
        running any ant command like "ant -version", I am getting the
        error " Exception in thread "main"
java.lang.NoClassDefFoundError: Tomcat"
        The details of my system are 
        Windows 2000 Professional ( Shell : cmd.exe)
        J2SDK1.4.0_03
        ANT_HOME=E:\apache-ant-1.5.2
        JAVA_HOME=F:\j2sdk1.4.0_03

        Please tell me what I can do to solve this??

        Regards,
        Rajat

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to