Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
problem using ant with win2000 and Jdk 1.4-

problem using ant with win2000 and Jdk 1.4-

2003-03-24       - By Rajat
Reply:     1     2  


Thanks to all for the help..the problem is now solved.

Ant was giving the error "NoClassDefFoundError: Tomcat"
because my classpath has a entry like this
Classpath:
.;G:\dp5\WIBProvisioning\samApi.jar;E:\j2sdkee1.3.1\lib\j2ee.jar;"G:\Apache
Tomcat 4.0\common\lib\servlet.jar";

After I removed the last entry(servlet.jar)from classpath it is working
fine. But I'm still not able to understand the logic behind this..
Was it due to the double quotes and space in classpath ????

Regards,
Rajat


> -----Original Message-----
> From: P Dunham [mailto:pcdunham_ng@(protected)]
> Sent: Monday, March 24, 2003 10:55 PM
> To: 'Ant Users List'
> Subject: RE: problem using ant with win2000 and Jdk 1.4
>
>
> 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:rajat.mishra@(protected)]
> Sent: Monday, March 24, 2003 4:33 AM
> To: user@(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: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>

########################## Legal Notice ###############################

"This communication is intended only for the person or entity to whom it is
addressed and may contain privileged or confidential information. Any reliance,
use, retransmission or action based on this material is prohibited. If this
communication is received in error, please contact the sender and delete this
message from your computer system."

#######################################################################

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.