You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/06/17 18:47:24 UTC

DO NOT REPLY [Bug 9924] New: - build.xml detects presence of servlet & activation but compile still fails

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9924>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9924

build.xml detects presence of servlet & activation but compile still fails

           Summary: build.xml detects presence of servlet & activation but
                    compile still fails
           Product: Axis
           Version: current (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: olejarz@charter.net


The ant build script correctly detects that both activation and servlet are not
present. The compile still fails with the following dependencies:

D:\xml-axis-src-061702\xml-axis\java>ant compile
Buildfile: build.xml

setenv:
     [echo] -----------------------------------------------------------------
     [echo]        Build environment for Axis beta2+ [2002]
     [echo] -----------------------------------------------------------------
     [echo] Building with Ant version 1.4.1 compiled on October 11 2001
     [echo] using build file D:\xml-axis-src-061702\xml-axis\java\build.xml
     [echo] Java 1.3.1_01 located at D:\jdk1.3.1_01\jre
     [echo] -----------------------------------------------------------------
     [echo] --- Flags (Note: If the {property name} is displayed,
     [echo]            then the component is not present)
     [echo]
     [echo] === Required Libraries ===
     [echo] wsdl4j.present=true
     [echo] commons-logging.present=true
     [echo] log4j.present=true
     [echo] tt-bytecode.present=true
     [echo]
     [echo] --- Optional Libraries ---
     [echo] servlet.present=${servlet.present}
     [echo] regexp.present=true
     [echo] junit.present=${junit.present}
     [echo] activation.present=${activation.present}
     [echo] mailapi.present=${mailapi.present}
     [echo] attachments.present=${attachments.present}
     [echo] security.present=${security.present}
     [echo] jsse.present=${jsse.present}
     [echo]
     [echo] --- Property values ---
     [echo] debug=on
     [echo] deprecation=true
     [echo] axis_nojavadocs=${env.axis_nojavadocs}

compile:
    [javac] Compiling 398 source files to D:\xml-axis-src-061702\xml-axis\java\b
uild\classes
    [javac] D:\xml-axis-src-061702\xml-axis\java\src\org\apache\axis\AxisFault.j
ava:77: cannot resolve symbol
    [javac] symbol  : class HttpServletResponse
    [javac] location: package http
    [javac] import javax.servlet.http.HttpServletResponse;
    [javac]                           ^
    [javac] D:\xml-axis-src-061702\xml-axis\java\src\javax\xml\soap\SOAPMessage.
java:57: cannot resolve symbol
    [javac] symbol  : class DataHandler
    [javac] location: package activation
    [javac] import javax.activation.DataHandler;
    [javac]                         ^
    [javac] D:\xml-axis-src-061702\xml-axis\java\src\javax\xml\soap\AttachmentPa
rt.java:57: cannot resolve symbol
    [javac] symbol  : class DataHandler
    [javac] location: package activation
    [javac] import javax.activation.DataHandler;
    [javac]                         ^
    [javac] D:\xml-axis-src-061702\xml-axis\java\src\javax\xml\soap\SOAPMessage.
java:243: cannot resolve symbol
    [javac] symbol  : class DataHandler
    [javac] location: class javax.xml.soap.SOAPMessage
    [javac]     public AttachmentPart createAttachmentPart(DataHandler datahandl
er) {
    [javac]                                                ^
    [javac] D:\xml-axis-src-061702\xml-axis\java\src\javax\xml\soap\AttachmentPa
rt.java:247: cannot resolve symbol
    [javac] symbol  : class DataHandler
    [javac] location: class javax.xml.soap.AttachmentPart
    [javac]     public abstract DataHandler getDataHandler() throws SOAPExceptio
n;
    [javac]                     ^
    [javac] D:\xml-axis-src-061702\xml-axis\java\src\javax\xml\soap\AttachmentPa
rt.java:263: cannot resolve symbol
    [javac] symbol  : class DataHandler
    [javac] location: class javax.xml.soap.AttachmentPart
    [javac]     public abstract void setDataHandler(DataHandler datahandler);
    [javac]                                         ^
    [javac] D:\xml-axis-src-061702\xml-axis\java\src\org\apache\axis\AxisFault.j
ava:304: cannot resolve symbol
    [javac] symbol  : variable HttpServletResponse
    [javac] location: class org.apache.axis.AxisFault
    [javac]                 ? HttpServletResponse.SC_UNAUTHORIZED
    [javac]                   ^
    [javac] D:\xml-axis-src-061702\xml-axis\java\src\org\apache\axis\AxisFault.j
ava:305: cannot resolve symbol
    [javac] symbol  : variable HttpServletResponse
    [javac] location: class org.apache.axis.AxisFault
    [javac]                 : HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
    [javac]                   ^
    [javac] 8 errors

BUILD FAILED