axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lou Fox <fou...@yahoo.com>
Subject Classpath problem?
Date Fri, 09 May 2003 17:05:43 GMT
The error message that I'm getting looks like a classpath problem, but I 
see saaj.jar in my classpath.  Does anyone have any thoughts as to what 
could be causing this problem.  Below is the snipit from the ant script 
that I use to compile, and a snipit from my verbose log that describes 
the problem and displays my classpath.

Ant script snipit:
--------------------------------------------------------------------------------------
<javac srcdir="./" destdir="./" debug="false" optimize="false" 
deprecation="false">
            <classpath>
                <pathelement location="../../"/>
                <fileset dir="../../lib">
                    <include name="**/*.jar"/>
                </fileset>
                <pathelement location="./"/>
            </classpath>
</javac>
---------------------------------------------------------------------------------------

ant's verbose log snipit:
--------------------------------------------------------------------------
[javac] SFDC_1.java added as SFDC_1.class is outdated.
    [javac] Compiling 1 source file to C:\Program Files\Apache 
Group\Tomcat 4.1\webapps\axis\WEB-INF\classes\practice
    [javac] Using modern compiler
    [javac] Compilation arguments:
'-d'
'C:\Program Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\classes\practice'
'-classpath'
'C:\Program Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\classes\practice;C:\Program Files\Apache 
Group\Tomcat 4.1\webapps\axis\WEB-INF;C:\Program Files\Apache 
Group\Tomcat 4.1\webapps\axis\WEB-INF\lib\axis-ant.jar;C:\Program 
Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\lib\axis.jar;C:\Program Files\Apache 
Group\Tomcat 
4.1\webapps\axis\WEB-INF\lib\commons-discovery.jar;C:\Program 
Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\lib\commons-logging.jar;C:\Program Files\Apache 
Group\Tomcat 4.1\webapps\axis\WEB-INF\lib\jaxrpc.jar;C:\Program 
Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\lib\log4j-1.2.4.jar;C:\Program Files\Apache 
Group\Tomcat 4.1\webapps\axis\WEB-INF\lib\saaj.jar;C:\Program 
Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\lib\wsdl4j.jar;C:\Program Files\Apache 
Group\Tomcat 4.1\webapps\axis\WEB-INF\lib\junit.jar;C:\Program 
Files\Apache Group\apache-ant-1.5.3-1\lib\xml-apis.jar;C:\Program 
Files\Apache Group\apache-ant-1.5.3-1\lib\xercesImpl.jar;C:\Program 
Files\Apache Group\apache-ant-1.5.3-1\lib\optional.jar;C:\Program 
Files\Apache 
Group\apache-ant-1.5.3-1\lib\ant.jar;C:\j2sdk1.4.2\lib\tools.jar'
'-sourcepath'
'C:\Program Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\classes\practice'
'-g:none'

The ' characters around the executable and arguments are
not part of the command.

    [javac] File to be compiled:
    C:\Program Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\classes\practice\SFDC_1.java

    [javac] C:\Program Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\classes\practice\SFDC_1.java:45: cannot resolve 
symbol
    [javac] symbol  : class SoapElement
    [javac] location: class SFDC_1
    [javac]                         SoapElement sev = new SoapEnvelope();
    [javac]                                                 ^
    [javac] C:\Program Files\Apache Group\Tomcat 
4.1\webapps\axis\WEB-INF\classes\practice\SFDC_1.java:45: cannot resolve 
symbol
    [javac] symbol  : class SoapEnvelope
    [javac] location: class SFDC_1
    [javac]                         SoapElement sev = new SoapEnvelope();
    
[javac]                                                                       
^
    [javac] 2 errors
--------------------------------------------------------------------------


Mime
View raw message