Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 87034 invoked from network); 29 Jan 2001 11:14:23 -0000 Received: from unknown (HELO ?195.115.98.1?) (195.115.98.1) by h31.sny.collab.net with SMTP; 29 Jan 2001 11:14:23 -0000 Received: from maileu.imediation.com by [195.115.98.1] via smtpd (for h31.sny.collab.net [64.208.42.41]) with SMTP; 29 Jan 2001 12:14:16 UT Received: (private information removed) Message-ID: <9B3E950CB293D411ADF4009027B0A4D27F5EF0@PARSV011> From: Stephane Bailliez To: ant-user@jakarta.apache.org Subject: RE: Ant newbie - Compiler Problems Date: Mon, 29 Jan 2001 11:18:51 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C089E5.422DAE60" X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C089E5.422DAE60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable If you don't give a build.xml sample about your compile target, I'm = afraid it will be difficult to help you... All I can say without being a mind reader is that it obviouslly does = not have the servlet API in the classpath when compiling. Waiting for your xml file. --=20 St=E9phane Bailliez=20 Software Engineer, Paris - France=20 iMediation - http://www.imediation.com=20 Disclaimer: All the opinions expressed above are mine and not those = from my company.=20 -----Original Message----- From: Vincent Kennedy [mailto:vincent_kennedy@hotmail.com] Sent: Wednesday, January 24, 2001 12:31 PM To: ant-user@jakarta.apache.org Subject: Ant newbie - Compiler Problems I apologise in advance if this problem is stupidly simple, but I am a newcomer to Ant. I am running Ant 1.2, Jakarta-Tomcar 3.2.1, JDK 1.3, and all this on = Win NT. I have modified the sample build.xml file to build a simple servlet. = When I run Ant I get the following message [javac] File to be compiled: D:\Apache\jakarta-tomcat-3.2.1\webapps\Vince\src\Hello.java =20 [javac] = D:\Apache\jakarta-tomcat-3.2.1\webapps\Vince\src\Hello.java:67: cannot resolve symbol [javac] symbol : class ServletException =20 [javac] location: package servlet [javac] import javax.servlet.ServletException; [javac] ^ =20 The complier repeats this for each import of the javax.servlet class. It seems that it cant find the javax.servlet package. I have tried pointing my classpath everywhere logical, and through frustration most places illogical - Has anybody any ideas how to solve = this? I suspect that it is some sort of incompatibilty with jdk1.3 - Either = that or something so simple that you will all be laughing at me! =20 Any help would be appreciated. ------_=_NextPart_001_01C089E5.422DAE60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Ant newbie - Compiler Problems

If you don't give a build.xml sample about your = compile target, I'm afraid it will be difficult to help you...

All I can say without being a mind reader is that it = obviouslly does not have the servlet API in the classpath when = compiling.

Waiting for your xml file.

--
 St=E9phane Bailliez
 Software Engineer, Paris - France
 iMediation - http://www.imediation.com
 Disclaimer: All the opinions expressed above = are mine and not those from my company.

-----Original Message-----
From: Vincent Kennedy [mailto:vincent_kennedy@hotma= il.com]
Sent: Wednesday, January 24, 2001 12:31 PM
To: ant-user@jakarta.apache.org
Subject: Ant newbie - Compiler Problems


I apologise in advance if this problem is stupidly = simple, but I am a newcomer to Ant.
I am running Ant 1.2, Jakarta-Tomcar 3.2.1, JDK 1.3, = and all this on Win NT.
I have modified the sample build.xml file to build a = simple servlet. When I run Ant I get the following message

    [javac] File to be = compiled:
    = D:\Apache\jakarta-tomcat-3.2.1\webapps\Vince\src\Hello.java
 
    [javac] = D:\Apache\jakarta-tomcat-3.2.1\webapps\Vince\src\Hello.java:67: cannot = resolve symbol
    [javac] symbol  : class = ServletException 
    [javac] location: package = servlet
    [javac] import = javax.servlet.ServletException;
    = [javac]           = ;           ^
 
The complier repeats this for each import of the = javax.servlet class.
It seems that it cant find the javax.servlet = package.
I have tried pointing my classpath everywhere = logical, and through frustration most places illogical - Has anybody = any ideas how to solve this?  I suspect that it is some sort of = incompatibilty with jdk1.3 - Either that or something so simple that = you will all be laughing at me!

 
Any help would be appreciated.

------_=_NextPart_001_01C089E5.422DAE60--