You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "G.Nagarajan" <gn...@dkf.de> on 2000/12/09 12:31:31 UTC

RE: Ant compile error

hi,

you have to download the ant and xerces packages and put them in the
classpath. Using the approach mentioned in the
doc is good if you have to manage a project. If just want to try out some
examples, you can ignore it.

Regards,
Nagaraj.
  -----Original Message-----
  From: Matt Becker [mailto:matt.becker@gte.net]
  Sent: Friday, December 08, 2000 10:58 PM
  To: tomcat-user@jakarta.apache.org
  Subject: Ant comile error


  Hi. I was trying to set up a simple web application and copied the sample
application for a starting point. The Tomcat doc on web applications said to
set everything up like so and run a build script which runs ant. I  get this
error:

  Exception Thread: java.lang.NoClassDefFoundError:
org/apache/tools/ant/main

  I checked it out in tomcat and it doesn't have a tools/ant/main in it's
org/apache directory.

  Anyone know what gives? And...to start out doing jsp web applications on
Tom Cat...is this ant stuff necessary?


  Thanks


  Matt