Hi-

I am trying to create my first (extremely simple) servlet usint TOMCAT.  As per
the instructions given with the distribution, I have configured the build.xml
file for use with ANT, to build the servlet.  However, I am getting this
(cryptic) compile error:

Compiling 1 source files to /home/httpd/jakarta-tomcat/webapps/adder/WEB-INF/classes
Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/javac/Main
        at org.apache.tools.ant.taskdefs.Javac.doClassicCompile(Javac.java:418)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:218)
        at org.apache.tools.ant.Target.execute(Target.java:120)
        at org.apache.tools.ant.Project.runTarget(Project.java:675)
        at org.apache.tools.ant.Project.executeTarget(Project.java:422)
        at org.apache.tools.ant.Main.runBuild(Main.java:240)
        at org.apache.tools.ant.Main.main(Main.java:191)

Does anyone know what exactly I am doing wrong?  Has anyone run into this
before?  Thanks in advance for your help.

Arun

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to