struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David G. Friedman" <hum...@ix.netcom.com>
Subject RE: running ant
Date Wed, 19 Jan 2005 15:56:05 GMT
Sounds like you don't have servet.jar or servlet-api.jar (Tomcat 5.X name
for that jar) in your classpath.

Regards,
David

-----Original Message-----
From: Alex Kravets [mailto:akravets@kligerweiss.com]
Sent: Wednesday, January 19, 2005 10:47 AM
To: Struts Users Mailing List
Subject: running ant


I am building my application using Ant. It seems to be compiling but
fails at step to build javadoc. Will this impact running of the
application (I think not)? Here is the output of running Ant:
Buildfile: build.xml

clean:
   [delete] Deleting directory
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/classes
    [mkdir] Created dir:
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/classes

prepare:

resources:
     [copy] Copying 2 files to
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/classes

compile:
    [javac] Compiling 2 source files to
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/classes

javadoc:
   [delete] Deleting directory
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/doc/api
    [mkdir] Created dir:
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/doc/api
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package app...
  [javadoc] Constructing Javadoc information...
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryAction.java:13:
package javax.servlet does not exist
  [javadoc] import javax.servlet.ServletException;
  [javadoc]                      ^
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryAction.java:14:
package javax.servlet.http does not exist
  [javadoc] import javax.servlet.http.HttpServletRequest;
  [javadoc]                           ^
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryAction.java:15:
package javax.servlet.http does not exist
  [javadoc] import javax.servlet.http.HttpSession;
  [javadoc]                           ^
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryAction.java:16:
package javax.servlet.http does not exist
  [javadoc] import javax.servlet.http.HttpServletResponse;
  [javadoc]                           ^
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryAction.java:30:
cannot find symbol
  [javadoc] symbol  : class HttpServletRequest
  [javadoc] location: class app.ExecuteQueryAction
  [javadoc]             HttpServletRequest request,
  [javadoc]             ^
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryAction.java:31:
cannot find symbol
  [javadoc] symbol  : class HttpServletResponse
  [javadoc] location: class app.ExecuteQueryAction
  [javadoc]             HttpServletResponse response)
  [javadoc]             ^
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryAction.java:32:
cannot find symbol
  [javadoc] symbol  : class ServletException
  [javadoc] location: class app.ExecuteQueryAction
  [javadoc]         throws IOException, ServletException {
  [javadoc]                             ^
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryForm.java:10:
package javax.servlet.http does not exist
  [javadoc] import javax.servlet.http.HttpServletRequest;
  [javadoc]                           ^
[javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryForm.java:75:
cannot find symbol
  [javadoc] symbol  : class HttpServletRequest
  [javadoc] location: class app.ExecuteQueryForm
  [javadoc]         HttpServletRequest request) {
  [javadoc]         ^
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryForm.java:89:
cannot find symbol
  [javadoc] symbol  : class HttpServletRequest
  [javadoc] location: class app.ExecuteQueryForm
  [javadoc]                                  HttpServletRequest request) {
  [javadoc]                                  ^
  [javadoc] Standard Doclet version 1.5.0
  [javadoc] Building tree for all the packages and classes...
  [javadoc] com.sun.tools.javac.code.Symbol$CompletionFailure: file
javax/servlet/ServletRequest.class not found
  [javadoc] com.sun.tools.doclets.internal.toolkit.util.DocletAbortException
  [javadoc]     at
com.sun.tools.doclets.formats.html.ClassWriterImpl.printSummaryDetailLinks(C
lassWriterImpl.java:461)
  [javadoc]     at
com.sun.tools.doclets.formats.html.HtmlDocletWriter.navLinks(HtmlDocletWrite
r.java:448)
  [javadoc]     at
com.sun.tools.doclets.formats.html.ClassWriterImpl.writeHeader(ClassWriterIm
pl.java:124)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassHeade
r(ClassBuilder.java:164)
  [javadoc]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
  [javadoc]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
  [javadoc]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
  [javadoc]     at java.lang.reflect.Method.invoke(Method.java:585)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(Cl
assBuilder.java:101)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(Abstra
ctBuilder.java:90)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.buildClassDoc(C
lassBuilder.java:124)
  [javadoc]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
  [javadoc]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
  [javadoc]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
  [javadoc]     at java.lang.reflect.Method.invoke(Method.java:585)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.invokeMethod(Cl
assBuilder.java:101)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.builders.AbstractBuilder.build(Abstra
ctBuilder.java:90)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.builders.ClassBuilder.build(ClassBuil
der.java:108)
  [javadoc]     at
com.sun.tools.doclets.formats.html.HtmlDoclet.generateClassFiles(HtmlDoclet.
java:155)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.generateClassFiles(Abs
tractDoclet.java:164)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.startGeneration(Abstra
ctDoclet.java:106)
  [javadoc]     at
com.sun.tools.doclets.internal.toolkit.AbstractDoclet.start(AbstractDoclet.j
ava:64)
  [javadoc]     at
com.sun.tools.doclets.formats.html.HtmlDoclet.start(HtmlDoclet.java:42)
  [javadoc]     at
com.sun.tools.doclets.standard.Standard.start(Standard.java:23)
  [javadoc]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
  [javadoc]     at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
  [javadoc]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
  [javadoc]     at java.lang.reflect.Method.invoke(Method.java:585)
  [javadoc]     at
com.sun.tools.javadoc.DocletInvoker.invoke(DocletInvoker.java:215)
  [javadoc]     at
com.sun.tools.javadoc.DocletInvoker.start(DocletInvoker.java:91)
  [javadoc]     at
com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340)
  [javadoc]     at com.sun.tools.javadoc.Start.begin(Start.java:128)
  [javadoc]     at com.sun.tools.javadoc.Main.execute(Main.java:41)
  [javadoc]     at com.sun.tools.javadoc.Main.main(Main.java:31)
[javadoc] com.sun.tools.javac.code.Symbol$CompletionFailure: file
javax/servlet/http/HttpServletResponse.class not found
  [javadoc]
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/src/java/app/ExecuteQu
eryForm.java:59:
warning - @param argument "password" is not a parameter
name.
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating
/export/home/jakarta-tomcat-5.5.4/webapps/log/WEB-INF/doc/api/stylesheet.css
...
  [javadoc] 11 warnings

dist:

thanks,
Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message